aboutsummaryrefslogtreecommitdiff
path: root/NDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'NDS.h')
-rw-r--r--NDS.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/NDS.h b/NDS.h
index 8be3c24..4559795 100644
--- a/NDS.h
+++ b/NDS.h
@@ -73,7 +73,11 @@ typedef struct
SchedEvent* Event;
} Timer;
+
+// hax
extern u32 IME[2];
+extern Timer Timers[8];
+
extern u32 ARM9ITCMSize;
extern u32 ARM9DTCMBase, ARM9DTCMSize;
@@ -82,6 +86,9 @@ void Reset();
void RunFrame();
+void PressKey(u32 key);
+void ReleaseKey(u32 key);
+
SchedEvent* ScheduleEvent(s32 Delay, void (*Func)(u32), u32 Param);
void CancelEvent(SchedEvent* event);
void RunEvents(s32 cycles);