mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-13 14:57:32 +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) \
|
if (g_state.pending_ticks >= g_state.downcount) \
|
||||||
break;
|
break;
|
||||||
|
|
||||||
for (;;)
|
if (g_state.pending_ticks >= g_state.downcount)
|
||||||
{
|
|
||||||
TimingEvents::RunEvents();
|
TimingEvents::RunEvents();
|
||||||
|
|
||||||
while (g_state.pending_ticks < g_state.downcount)
|
for (;;)
|
||||||
|
{
|
||||||
|
for (;;)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
LogCurrentState();
|
LogCurrentState();
|
||||||
@ -830,6 +831,8 @@ template<PGXPMode pgxp_mode>
|
|||||||
CHECK_DOWNCOUNT();
|
CHECK_DOWNCOUNT();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TimingEvents::RunEvents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user