mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
-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:
parent
30048fbd4e
commit
1839114cef
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.3 MiB After Width: | Height: | Size: 3.3 MiB |
@ -60,7 +60,8 @@ void Close_Inputs(void)
|
||||
|
||||
bool Sys_Exiting(void)
|
||||
{
|
||||
DCFlushRange(&reset, 32);
|
||||
if(!isWiiVC)
|
||||
DCFlushRange(&reset, 32);
|
||||
DCFlushRange(&shutdown, 32);
|
||||
return reset || shutdown;
|
||||
}
|
||||
@ -141,7 +142,8 @@ void __Sys_PowerCallback(void)
|
||||
void Sys_Init(void)
|
||||
{
|
||||
/* Set RESET/POWER button callback */
|
||||
SYS_SetResetCallback(__Sys_ResetCallback);
|
||||
if(!isWiiVC)
|
||||
SYS_SetResetCallback(__Sys_ResetCallback);
|
||||
SYS_SetPowerCallback(__Sys_PowerCallback);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user