bool OSystem::setGraphicsMode(const char *name) { if (!name) return false; // Special case for the 'default' filter if (!scumm_stricmp(name, "normal") || !scumm_stricmp(name, "default")) { return setGraphicsMode(getDefaultGraphicsMode()); } const GraphicsMode *gm = getSupportedGraphicsModes(); while (gm->name) { if (!scumm_stricmp(gm->name, name)) { return setGraphicsMode(gm->id); } gm++; } return false; }
// make sure we always go to normal, even if the string might be set wrong! bool SymbianSdlGraphicsManager::setGraphicsMode(int /*name*/) { // let parent OSystem_SDL handle it return SurfaceSdlGraphicsManager::setGraphicsMode(getDefaultGraphicsMode()); }
// make sure we always go to normal, even if the string might be set wrong! bool OSystem_SDL_Symbian::setGraphicsMode(const char * /*name*/) { // let parent OSystem_SDL handle it return OSystem_SDL::setGraphicsMode(getDefaultGraphicsMode()); }