Added support for USA Rev 1

This commit is contained in:
dbalatoni13 2024-11-15 03:22:57 +01:00
parent b968009093
commit 636af928ae
18 changed files with 12142 additions and 19 deletions

View file

@ -2,7 +2,6 @@
#include <dolphin/hw_regs.h>
#include <dolphin/os.h>
typedef void (*MTRCallbackType)(int);
static MTRCallbackType MTRCallback;
@ -268,8 +267,13 @@ u32 DBQueryData(void)
if (!RecvDataLeng) {
interrupts = OSDisableInterrupts();
CheckMailBox();
#if VERSION > 0
OSRestoreInterrupts(interrupts);
}
#else
}
OSRestoreInterrupts(interrupts);
#endif
return RecvDataLeng;
}