mirror of
https://github.com/rvtr/TDT.git
synced 2025-10-31 13:51:07 -04:00
Fix FIFO lockup if waiting too long on start messages
This commit is contained in:
parent
948871798b
commit
cfbbd949d8
@ -116,6 +116,9 @@ int main(int argc, char **argv)
|
|||||||
keysSetRepeat(25, 5);
|
keysSetRepeat(25, 5);
|
||||||
_setupScreens();
|
_setupScreens();
|
||||||
|
|
||||||
|
fifoSetValue32Handler(FIFO_USER_01, fifoHandlerPower, NULL);
|
||||||
|
fifoSetValue32Handler(FIFO_USER_03, fifoHandlerBattery, NULL);
|
||||||
|
|
||||||
//DSi check
|
//DSi check
|
||||||
if (!isDSiMode())
|
if (!isDSiMode())
|
||||||
{
|
{
|
||||||
@ -166,9 +169,6 @@ int main(int argc, char **argv)
|
|||||||
//main menu
|
//main menu
|
||||||
int cursor = 0;
|
int cursor = 0;
|
||||||
|
|
||||||
fifoSetValue32Handler(FIFO_USER_01, fifoHandlerPower, NULL);
|
|
||||||
fifoSetValue32Handler(FIFO_USER_03, fifoHandlerBattery, NULL);
|
|
||||||
|
|
||||||
while (!programEnd)
|
while (!programEnd)
|
||||||
{
|
{
|
||||||
cursor = _mainMenu(cursor);
|
cursor = _mainMenu(cursor);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user