Do not account RSX for TSX pauses

This commit is contained in:
Eladash 2021-01-29 08:45:58 +02:00 committed by Ivan
parent 70346028c5
commit a742501a4f
4 changed files with 11 additions and 3 deletions

View file

@ -272,7 +272,7 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
return;
}
const u32 address_limits = (cpu->id_type() != 1 ? 0x3fffc : ~3);
const u32 address_limits = (cpu->id_type() == 2 ? 0x3fffc : ~3);
const u32 pc = (i >= 0 ? m_debugger_list->m_pc + i * 4 : cpu->get_pc()) & address_limits;
const auto modifiers = QApplication::keyboardModifiers();