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:
Léo Lam 2018-03-16 20:17:43 +01:00
parent 6fdac685d6
commit 25704a2494
1 changed files with 1 additions and 1 deletions

View File

@ -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)