mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
MTROPOLIS: Fix bad for loop
This commit is contained in:
parent
f14ca5b871
commit
dbe54975cb
@ -208,7 +208,7 @@ Common::Error MTropolisEngine::run() {
|
||||
|
||||
// If that fails, then try to find the best one available
|
||||
if (selectedMode == kColorDepthModeInvalid) {
|
||||
for (int i = preferredColorDepthMode - 1; i >= 0; i++) {
|
||||
for (int i = preferredColorDepthMode - 1; i >= 0; i--) {
|
||||
if (haveExactMode[i] || haveCloseMode[i]) {
|
||||
selectedMode = static_cast<ColorDepthMode>(i);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user