summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc b/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc
new file mode 100644
index 000000000000..26e6007ffb7e
--- /dev/null
+++ b/emulators/pearpc/files/patch-src-cpu_generic-ppc_cpu.cc
@@ -0,0 +1,11 @@
+--- src/cpu_generic/ppc_cpu.cc.orig Sun Aug 1 19:42:05 2004
++++ src/cpu_generic/ppc_cpu.cc Thu May 6 02:48:30 2004
+@@ -108,7 +108,7 @@
+ ppc_debug_hook();
+ } else {
+ int ret;
++ if ((ret = ppc_direct_effective_memory_handle_code(gCPU.pc & ~0xfff, (byte *&)gCPU.physical_code_page))) {
+- if ((ret = ppc_direct_effective_memory_handle_code(gCPU.pc & ~0xfff, gCPU.physical_code_page))) {
+ if (ret == PPC_MMU_EXC) {
+ gCPU.pc = gCPU.npc;
+ continue;