2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

CGameOptions: Make TuneScreenBrightness() a const member function

This member function doesn't modify internal class state.
This commit is contained in:
Lioncash
2020-04-16 19:42:18 -04:00
parent d16e758f07
commit e7ef1e0b5e
2 changed files with 2 additions and 2 deletions

View File

@@ -266,7 +266,7 @@ CGameOptions::CGameOptions()
InitSoundMode();
}
float CGameOptions::TuneScreenBrightness() { return (0.375f * 1.f) + (float(x48_screenBrightness) * 0.25f); }
float CGameOptions::TuneScreenBrightness() const { return (0.375f * 1.f) + (float(x48_screenBrightness) * 0.25f); }
void CGameOptions::InitSoundMode() { /* If system is mono, force x44 to mono, otherwise honor user preference */
}