diff --git a/Src/gui/save_game_menu.cpp b/Src/gui/save_game_menu.cpp index df2d7a2..a6ea01e 100644 --- a/Src/gui/save_game_menu.cpp +++ b/Src/gui/save_game_menu.cpp @@ -77,15 +77,15 @@ public: if (this->loadSnapshot) { - int display_type = ThePrefs.DisplayType; + int display_type = Gui::gui->np->DisplayType; TheC64->LoadSnapshot(new_path); this->updateGameInfo(fileName); Gui::gui->updateGameInfo(Gui::gui->sgv->gameInfo->gi); - ThePrefs.Load(prefs_path); + Gui::gui->np->Load(prefs_path); /* Don't change display type */ - ThePrefs.DisplayType = display_type; + Gui::gui->np->DisplayType = display_type; } else unlink(new_path); free(prefs_path);