From: kub <derkub@gmail.com>
Date: Thu, 1 Jul 2021 19:21:13 +0000 (+0200)
Subject: 68k, allow cyclone execution from address 0
X-Git-Tag: v2.00~502
X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef4f41a855e9ce55211f96b6e7a18ce72393cd12;p=picodrive.git

68k, allow cyclone execution from address 0
---

diff --git a/pico/m68kif_cyclone.s b/pico/m68kif_cyclone.s
index 6f2a9bcc..55e996a4 100644
--- a/pico/m68kif_cyclone.s
+++ b/pico/m68kif_cyclone.s
@@ -27,7 +27,8 @@ cyclone_checkpc:
     and     r3, r0, #0xff000000
     bic     r0, r0, #1
     bics    r2, r0, #0xff000000
-    beq     crashed
+    @ ouf, some Codemasters titles actually start at address 0
+    @ beq     crashed
 
     ldr     r1, [r7, #0x6c]  @ read16 map
     mov     r2, r2, lsr #M68K_MEM_SHIFT