From 49858ec3948ca4aeb6271d71f838f4ace79a5165 Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Thu, 6 Sep 2001 02:29:59 +0000 Subject: [PATCH] Fix for Zero the Squirrel --- zsnes/src/init.asm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/zsnes/src/init.asm b/zsnes/src/init.asm index 5d7b7b9e..c6af829e 100644 --- a/zsnes/src/init.asm +++ b/zsnes/src/init.asm @@ -1461,6 +1461,7 @@ NEWSYM headerhack mov byte[hirqmode2],0 mov byte[ENVDisable],0 mov byte[MMXSRAMFix],0 + mov byte[osm2dis],0 mov esi,[romdata] add esi,07FC0h @@ -1537,6 +1538,16 @@ NEWSYM headerhack mov byte[esi+1],0BCh ; RTS instead of jumping to a rts .nothomealone + mov esi,[romdata] + add esi,07FC0h + cmp dword[esi],'Zero' + jne .notzerosquirrel + cmp dword[esi+4],' the' + jne .notzerosquirrel + cmp dword[esi+8],' Kam' + jne .notzerosquirrel + mov byte[osm2dis],1 +.notzerosquirrel mov esi,[romdata] add esi,0FFC0h