Previous 15994 Revisions Next

r9318 Tuesday 5th October, 2010 at 01:40:08 UTC by R. Belmont
SH2: fixed interpreter to work again
[src/emu/cpu/sh2]sh2.c

src/emu/cpu/sh2/sh2.c
r9317r9318
22372237
22382238      if (sh2->delay)
22392239      {
2240         opcode = memory_decrypted_read_word(sh2->program, WORD_XOR_BE((UINT32)(sh2->delay & AM)));
2240         opcode = sh2->program->read_word(((UINT32)(sh2->delay & AM)));
22412241         sh2->pc -= 2;
22422242      }
22432243      else
2244         opcode = memory_decrypted_read_word(sh2->program, WORD_XOR_BE((UINT32)(sh2->pc & AM)));
2244         opcode = sh2->program->read_word(((UINT32)(sh2->pc & AM)));
22452245
22462246      debugger_instruction_hook(device, sh2->pc);
22472247

Previous 15994 Revisions Next


© 1998-2018 The MESS Team