mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-10 13:27:22 +00:00
CPU/CodeCache: Fix event kicking for Cached Interpreter
This commit is contained in:
parent
cdcf05a878
commit
c3a2156c79
@ -752,11 +752,12 @@ template<PGXPMode pgxp_mode>
|
||||
if (g_state.pending_ticks >= g_state.downcount) \
|
||||
break;
|
||||
|
||||
for (;;)
|
||||
{
|
||||
if (g_state.pending_ticks >= g_state.downcount)
|
||||
TimingEvents::RunEvents();
|
||||
|
||||
while (g_state.pending_ticks < g_state.downcount)
|
||||
for (;;)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
#if 0
|
||||
LogCurrentState();
|
||||
@ -830,6 +831,8 @@ template<PGXPMode pgxp_mode>
|
||||
CHECK_DOWNCOUNT();
|
||||
continue;
|
||||
}
|
||||
|
||||
TimingEvents::RunEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user