diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-06-25 17:35:45 +0200 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-06-25 17:35:45 +0200 |
commit | 39fbc415f67b3ffd27982e31af57314487daf9cb (patch) | |
tree | 247534a957ab632a63b784aa58a0bae94e1afb74 /src/NDS.cpp | |
parent | 4ffb2177913ed97c1e0705f040002acff8e0efc0 (diff) |
new save heuristic. atleast Scribblenauts doesn't lose its shit now.
shut up shibs
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) |