From 418b8baca3ea3eae518bf6a6052f259070ca0665 Mon Sep 17 00:00:00 2001 From: n-a-c-h <> Date: Tue, 28 Oct 2003 15:52:30 +0000 Subject: [PATCH] More cleanup --- zsnes/src/initc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zsnes/src/initc.c b/zsnes/src/initc.c index 419d5e94..8848f9fb 100755 --- a/zsnes/src/initc.c +++ b/zsnes/src/initc.c @@ -423,7 +423,7 @@ void headerhack() } //Should be Super Famista 2 (J), uses non-standard characters - if (0==strncmp((RomData+Lo),"\x0bd\x0b0\x0ca\x0df\x0b0\x0cc\x0a7\x0d0\x0bd\x0c0 \x032 " ,16)) + if (!strncmp((RomData+Lo),"\x0bd\x0b0\x0ca\x0df\x0b0\x0cc\x0a7\x0d0\x0bd\x0c0 \x032 " ,16)) { //Skip a check for value FF at 2140 when spc not initialized yet?!? RomData[0x6CED] = 0xEA; @@ -621,9 +621,10 @@ void headerhack() //In asm, but doesn't do anything - if(!strncmp((RomData+Hi), "FINA", 4) - //Asm says .notff3 (Final Fantasy 3? Final Fight 3?) + //Final Fantasy 3 (extent unknown!) if (romdata[0x26AC] == 0xF00F2908) { + //asm volatile("int $3"); opexec268 = 163; opexec358 = 157; opexec268cph = 39;