mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Passing NULL GameInfo is OK
This commit is contained in:
parent
89b8fc07d9
commit
fa26ae2980
@ -433,7 +433,9 @@ Font *Gui::loadThemeFont(const char *dir, const char *what, int size)
|
||||
|
||||
void Gui::updateGameInfo(GameInfo *gi)
|
||||
{
|
||||
panic_if(!gi, "gi must be set\n");
|
||||
/* Ignore if empty */
|
||||
if(!gi)
|
||||
return;
|
||||
|
||||
/* Store the current game info */
|
||||
this->saveGameInfo(this->metadata_base_path, this->cur_gameInfo->filename);
|
||||
|
Loading…
Reference in New Issue
Block a user