mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Use new prefs
This commit is contained in:
parent
30775231b9
commit
dc74ffeb19
@ -77,15 +77,15 @@ public:
|
|||||||
|
|
||||||
if (this->loadSnapshot)
|
if (this->loadSnapshot)
|
||||||
{
|
{
|
||||||
int display_type = ThePrefs.DisplayType;
|
int display_type = Gui::gui->np->DisplayType;
|
||||||
|
|
||||||
TheC64->LoadSnapshot(new_path);
|
TheC64->LoadSnapshot(new_path);
|
||||||
|
|
||||||
this->updateGameInfo(fileName);
|
this->updateGameInfo(fileName);
|
||||||
Gui::gui->updateGameInfo(Gui::gui->sgv->gameInfo->gi);
|
Gui::gui->updateGameInfo(Gui::gui->sgv->gameInfo->gi);
|
||||||
ThePrefs.Load(prefs_path);
|
Gui::gui->np->Load(prefs_path);
|
||||||
/* Don't change display type */
|
/* Don't change display type */
|
||||||
ThePrefs.DisplayType = display_type;
|
Gui::gui->np->DisplayType = display_type;
|
||||||
} else
|
} else
|
||||||
unlink(new_path);
|
unlink(new_path);
|
||||||
free(prefs_path);
|
free(prefs_path);
|
||||||
|
Loading…
Reference in New Issue
Block a user