From dc74ffeb1980458967d8f9bc7bb458c3d5987ab7 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sat, 13 Mar 2010 07:31:22 +0000 Subject: [PATCH] Use new prefs --- Src/gui/save_game_menu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);