This commit is contained in:
Vadim Grigoruk 2018-08-11 09:13:18 +03:00
parent 3275257ae2
commit 6e4b33e74d
1 changed files with 16 additions and 12 deletions

View File

@ -1074,6 +1074,8 @@ static void onConsoleLoadCommandConfirmed(Console* console, const char* param)
}
static void load(Console* console, const char* path, const char* hash)
{
if(hash)
{
s32 size = 0;
const char* name = getCartName(path);
@ -1092,6 +1094,8 @@ static void load(Console* console, const char* path, const char* hash)
commandDone(console);
}
else onConsoleLoadCommandConfirmed(console, path);
}
typedef void(*ConfirmCallback)(Console* console, const char* param);