mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-04 00:45:41 -04:00
CPU/Recompiler: Fetch instruction before dispatching interrupts
Fixes polygon glitches in Crash.
This commit is contained in:
parent
aa52dbfeb8
commit
41298a74e1
@ -46,7 +46,7 @@ void CodeCache::Execute()
|
||||
if (m_core->HasPendingInterrupt())
|
||||
{
|
||||
// TODO: Fill in m_next_instruction...
|
||||
// m_core->SafeReadMemoryWord(m_core->m_regs.pc, &m_core->m_next_instruction.bits);
|
||||
m_core->SafeReadMemoryWord(m_core->m_regs.pc, &m_core->m_next_instruction.bits);
|
||||
m_core->DispatchInterrupt();
|
||||
next_block_key = GetNextBlockKey();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user