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

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