-updating to ppc r32 and libogc 1.8.20 changed the reset button callback which caused wiiflow lite to freeze in wiivc mode. fixed it by skipping it when in wiivc mode. no problem since the wiiu doesn't have a reset button.

This commit is contained in:
fledge68 2018-08-08 20:24:19 +00:00
parent 30048fbd4e
commit 1839114cef
2 changed files with 4 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -60,6 +60,7 @@ void Close_Inputs(void)
bool Sys_Exiting(void)
{
if(!isWiiVC)
DCFlushRange(&reset, 32);
DCFlushRange(&shutdown, 32);
return reset || shutdown;
@ -141,6 +142,7 @@ void __Sys_PowerCallback(void)
void Sys_Init(void)
{
/* Set RESET/POWER button callback */
if(!isWiiVC)
SYS_SetResetCallback(__Sys_ResetCallback);
SYS_SetPowerCallback(__Sys_PowerCallback);
}