mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Correct "EnableBloom" parameter type in mupen64plus config.
This commit is contained in:
parent
04e90bee85
commit
5b6b33f80b
|
@ -138,7 +138,7 @@ bool Config_SetDefault()
|
|||
assert(res == M64ERR_SUCCESS);
|
||||
|
||||
//#Bloom filter settings
|
||||
res = ConfigSetDefaultInt(g_configVideoGliden64, "EnableBloom", config.bloomFilter.enable, "Enable bloom filter");
|
||||
res = ConfigSetDefaultBool(g_configVideoGliden64, "EnableBloom", config.bloomFilter.enable, "Enable bloom filter");
|
||||
assert(res == M64ERR_SUCCESS);
|
||||
res = ConfigSetDefaultInt(g_configVideoGliden64, "bloomThresholdLevel", config.bloomFilter.thresholdLevel, "Brightness threshold level for bloom. Values [2, 6]");
|
||||
assert(res == M64ERR_SUCCESS);
|
||||
|
@ -253,7 +253,7 @@ void Config_LoadConfig()
|
|||
if (config.font.size == 0)
|
||||
config.font.size = 30;
|
||||
//#Bloom filter settings
|
||||
config.bloomFilter.enable = ConfigGetParamInt(g_configVideoGliden64, "EnableBloom");
|
||||
config.bloomFilter.enable = ConfigGetParamBool(g_configVideoGliden64, "EnableBloom");
|
||||
config.bloomFilter.thresholdLevel = ConfigGetParamInt(g_configVideoGliden64, "bloomThresholdLevel");
|
||||
config.bloomFilter.blendMode = ConfigGetParamInt(g_configVideoGliden64, "bloomBlendMode");
|
||||
config.bloomFilter.blurAmount = ConfigGetParamInt(g_configVideoGliden64, "blurAmount");
|
||||
|
|
Loading…
Reference in New Issue
Block a user