diff options
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r-- | src/NDS.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp index 234ed0c..66e5a47 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -586,6 +586,11 @@ void ResumeCPU(u32 cpu, u32 mask) CPUStop &= ~mask; } +u32 GetPC(u32 cpu) +{ + return cpu ? ARM7->R[15] : ARM9->R[15]; +} + void HandleTimerOverflow(u32 tid) |