mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Also allow directories for save games
This commit is contained in:
parent
a664d7c884
commit
fecfac664f
@ -60,8 +60,15 @@ public:
|
||||
const char *fileName = this->pp_msgs[this->cur_sel];
|
||||
char buf[255];
|
||||
|
||||
/* If we selected a directory, just take the next one */
|
||||
if (fileName[0] == '[')
|
||||
{
|
||||
this->pushDirectory(fileName);
|
||||
return;
|
||||
}
|
||||
|
||||
snprintf(buf, sizeof(buf), "%s/%s",
|
||||
Gui::gui->save_game_path, fileName);
|
||||
this->cur_path_prefix, fileName);
|
||||
if (this->loadSnapshot)
|
||||
TheC64->LoadSnapshot(buf);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user