mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
sh2: Fix interpreter for cps3 [O. Galibert]
This commit is contained in:
parent
95491792aa
commit
dc3a9f87ab
@ -402,7 +402,7 @@ void sh2_device::execute_run()
|
|||||||
{
|
{
|
||||||
debugger_instruction_hook(m_sh2_state->pc);
|
debugger_instruction_hook(m_sh2_state->pc);
|
||||||
|
|
||||||
const uint16_t opcode = m_program->read_word(m_sh2_state->pc & SH12_AM);
|
const uint16_t opcode = m_decrypted_program->read_word(m_sh2_state->pc >= 0x40000000 ? m_sh2_state->pc : m_sh2_state->pc & SH12_AM);
|
||||||
|
|
||||||
if (m_sh2_state->m_delay)
|
if (m_sh2_state->m_delay)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user