diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp index 8b41aa8b4b3..3cd1a742cb0 100644 --- a/common/gameDetector.cpp +++ b/common/gameDetector.cpp @@ -382,10 +382,10 @@ void GameDetector::parseCommandLine(int argc, char **argv) { g_config->setBool("nosubtitles", _noSubtitles ? true : false); break; case 'o': - HANDLE_OPTION(); - _master_volume = atoi(option); - g_config->setInt("master_volume", _master_volume); - break; + HANDLE_OPTION(); + _master_volume = atoi(option); + g_config->setInt("master_volume", _master_volume); + break; case 'p': HANDLE_OPTION(); _gameDataPath = option; diff --git a/common/timer.cpp b/common/timer.cpp index 906f621c912..a0b90232a73 100644 --- a/common/timer.cpp +++ b/common/timer.cpp @@ -75,7 +75,7 @@ bool Timer::init() { return false; } - if (_initialized == true) + if (_initialized) return true; for (l = 0; l < MAX_TIMERS; l++) {