Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diasurgical/devilution
/ SaveGamma
Function
SaveGamma
Source/palette.cpp:43–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
void SaveGamma()
44
{
45
SRegSaveValue(
"Diablo"
,
"Gamma Correction"
, 0, gamma_correction);
46
SRegSaveValue(
"Diablo"
,
"Color Cycling"
, FALSE, color_cycling_enabled);
47
}
48
49
static void LoadGamma()
50
{
Callers
1
UpdateGamma
Function · 0.85
Calls
1
SRegSaveValue
Function · 0.85
Tested by
no test coverage detected