mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-09 00:43:24 +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"
|
#include "wiiuse/wpad.h"
|
||||||
|
|
||||||
/* Variables */
|
/* Variables */
|
||||||
bool reset = false;
|
volatile bool reset = false;
|
||||||
bool shutdown = false;
|
volatile bool shutdown = false;
|
||||||
u8 ExitOption = 0;
|
volatile u8 ExitOption = 0;
|
||||||
const char *NeekPath = NULL;
|
const char *NeekPath = NULL;
|
||||||
|
|
||||||
extern void __exception_closeall();
|
|
||||||
|
|
||||||
void __Wpad_PowerCallback()
|
void __Wpad_PowerCallback()
|
||||||
{
|
{
|
||||||
/* Poweroff console */
|
|
||||||
shutdown = 1;
|
shutdown = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user