aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.cpp')
-rw-r--r--common/system.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 9c2a178dfa..ef41f7c234 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -67,17 +67,13 @@ bool OSystem::setGraphicsMode(const char *name) {
if (!name)
return false;
- const GraphicsMode *gm = getSupportedGraphicsModes();
-
// Sepcial case for the 'default' filter
if (!scumm_stricmp(name, "normal") || !scumm_stricmp(name, "default")) {
-#ifdef _WIN32_WCE
- name = "1x";
-#else
- name = "2x";
-#endif
+ return setGraphicsMode(getDefaultGraphicsMode());
}
+ const GraphicsMode *gm = getSupportedGraphicsModes();
+
while (gm->name) {
if (!scumm_stricmp(gm->name, name)) {
return setGraphicsMode(gm->id);