Previous 15994 Revisions Next

r6367 Thursday 12th November, 2009 at 22:20:19 UTC by Harmony
[N64] Added missing BLTZAL opcode to RSP core; fixes Majora's Mask crashing when entering the second cave tunnel. [angrylion]
[src/emu/cpu/rsp]rsp.c

src/emu/cpu/rsp/rsp.c
r6366r6367
26672667            {
26682668               case 0x00:   /* BLTZ */      if ((INT32)(RSVAL) < 0) JUMP_REL(SIMM16); break;
26692669               case 0x01:   /* BGEZ */      if ((INT32)(RSVAL) >= 0) JUMP_REL(SIMM16); break;
2670               case 0x10:   /* BLTZAL */   if ((INT32)(RSVAL) < 0) JUMP_REL_L(SIMM16, 31); break;
26702671               case 0x11:   /* BGEZAL */   if ((INT32)(RSVAL) >= 0) JUMP_REL_L(SIMM16, 31); break;
26712672               default:   unimplemented_opcode(cpustate, op); break;
26722673            }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team