#582 fix
This commit is contained in:
parent
3275257ae2
commit
6e4b33e74d
|
@ -1074,6 +1074,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);
|
||||||
|
@ -1092,6 +1094,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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue