mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Don't save unknown
This commit is contained in:
parent
89cb44386a
commit
aaf74e28d8
@ -390,6 +390,10 @@ void Gui::updateGameInfo(GameInfo *gi)
|
||||
|
||||
void Gui::saveGameInfo()
|
||||
{
|
||||
/* Don't save unset games */
|
||||
if (strcmp(this->cur_gameInfo->filename, "unknown") == 0)
|
||||
return;
|
||||
|
||||
struct game_info *p = this->cur_gameInfo->dump();
|
||||
|
||||
if (p)
|
||||
|
Loading…
Reference in New Issue
Block a user