mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-02 13:52:36 +01:00
-fixed shutdown issues of wiiflow using the wii power button
This commit is contained in:
parent
c1b835645c
commit
f05f2881db
@ -19,16 +19,13 @@
|
||||
#include "wiiuse/wpad.h"
|
||||
|
||||
/* Variables */
|
||||
bool reset = false;
|
||||
bool shutdown = false;
|
||||
u8 ExitOption = 0;
|
||||
volatile bool reset = false;
|
||||
volatile bool shutdown = false;
|
||||
volatile u8 ExitOption = 0;
|
||||
const char *NeekPath = NULL;
|
||||
|
||||
extern void __exception_closeall();
|
||||
|
||||
void __Wpad_PowerCallback()
|
||||
{
|
||||
/* Poweroff console */
|
||||
shutdown = 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user