aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.h')
-rw-r--r--src/NDS.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/NDS.h b/src/NDS.h
index 5dd6c0e..ccaba52 100644
--- a/src/NDS.h
+++ b/src/NDS.h
@@ -22,9 +22,21 @@
#include "Savestate.h"
#include "types.h"
+// when touching the main loop/timing code, pls test a lot of shit
+// with this enabled, to make sure it doesn't desync
+//#define DEBUG_CHECK_DESYNC
+
namespace NDS
{
+#ifdef DEBUG_CHECK_DESYNC
+extern u64 dbg_CyclesSys;
+extern u64 dbg_CyclesARM9;
+extern u64 dbg_CyclesTimer9;
+extern u64 dbg_CyclesARM7;
+extern u64 dbg_CyclesTimer7;
+#endif
+
enum
{
Event_LCD = 0,