Enabled APT_AppletUtility code which was needed for aptReturnToMenu.

This commit is contained in:
yellows8 2014-05-22 13:06:50 -04:00
parent ce92c8b20d
commit d99ab43106

View File

@ -122,9 +122,12 @@ void aptReturnToMenu()
u32 ns_capinfo[0x20>>2]; u32 ns_capinfo[0x20>>2];
u32 tmp_params[0x20>>2]; u32 tmp_params[0x20>>2];
/*aptOpenSession(); if(aptGetStatusPower()==0)//This is only executed when ret-to-menu was triggered via the home-button, not the power-button.
APT_AppletUtility(NULL, NULL, 0x6, 0x4, (u8*)&tmp0, 0x1, (u8*)&tmp1); {
aptCloseSession();*/ aptOpenSession();
APT_AppletUtility(NULL, NULL, 0x6, 0x4, (u8*)&tmp0, 0x1, (u8*)&tmp1);
aptCloseSession();
}
aptOpenSession(); aptOpenSession();
APT_PrepareToJumpToHomeMenu(NULL); //prepare for return to menu APT_PrepareToJumpToHomeMenu(NULL); //prepare for return to menu