Boot: Set TYPE_NANDBOOT when booting from NAND
It makes more sense to set TYPE_NANDBOOT than TYPE_RETURN. The latter is normally only set when returning to the system menu from a game.
This commit is contained in:
parent
6fdac685d6
commit
25704a2494
|
@ -25,7 +25,7 @@
|
||||||
bool CBoot::BootNANDTitle(const u64 title_id)
|
bool CBoot::BootNANDTitle(const u64 title_id)
|
||||||
{
|
{
|
||||||
UpdateStateFlags([](StateFlags* state) {
|
UpdateStateFlags([](StateFlags* state) {
|
||||||
state->type = 0x03; // TYPE_RETURN
|
state->type = 0x04; // TYPE_NANDBOOT
|
||||||
});
|
});
|
||||||
|
|
||||||
if (title_id == Titles::SYSTEM_MENU)
|
if (title_id == Titles::SYSTEM_MENU)
|
||||||
|
|
Loading…
Reference in New Issue