mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 21:25:47 -04:00
CPU/Recompiler: Make generated code invariant to virtual PC
This commit is contained in:
@ -119,9 +119,14 @@ void Execute()
|
||||
#endif
|
||||
|
||||
if (s_use_recompiler)
|
||||
{
|
||||
g_state.current_instruction_pc = g_state.regs.pc;
|
||||
block->host_code();
|
||||
}
|
||||
else
|
||||
{
|
||||
InterpretCachedBlock(*block);
|
||||
}
|
||||
|
||||
if (g_state.pending_ticks >= g_state.downcount)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user