mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-14 07:35:12 +01:00
NULL the game info on view push
This commit is contained in:
parent
913e94fb90
commit
6b53a490f8
@ -29,6 +29,8 @@ public:
|
||||
|
||||
void runStartSequence(bool what);
|
||||
|
||||
void viewPushCallback();
|
||||
|
||||
/* Inherited */
|
||||
void runLogic();
|
||||
|
||||
@ -172,6 +174,11 @@ DiscView::~DiscView()
|
||||
delete this->gameInfo;
|
||||
}
|
||||
|
||||
void DiscView::viewPushCallback()
|
||||
{
|
||||
this->gameInfo->setGameInfo(NULL);
|
||||
}
|
||||
|
||||
void DiscView::loadGameInfo(const char *what)
|
||||
{
|
||||
this->gameInfo->loadGameInfo(what, Gui::gui->metadata_base_path);
|
||||
|
@ -28,6 +28,8 @@ public:
|
||||
|
||||
void setLoadSnapshot(bool which);
|
||||
|
||||
void viewPushCallback();
|
||||
|
||||
void saveSnapshot();
|
||||
|
||||
/* Inherited */
|
||||
@ -137,6 +139,11 @@ void SaveGameView::setLoadSnapshot(bool what)
|
||||
this->menu->loadSnapshot = what;
|
||||
}
|
||||
|
||||
void SaveGameView::viewPushCallback()
|
||||
{
|
||||
this->gameInfo->setGameInfo(NULL);
|
||||
}
|
||||
|
||||
void SaveGameView::saveSnapshot()
|
||||
{
|
||||
const char *name = "unknown";
|
||||
|
Loading…
Reference in New Issue
Block a user