mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 19:00:23 +00:00
Eat a few more cycles on END cmds.
Fixes #3049, which apparently expects an END/FINISH to not immediately trigger (it drawsyncs soon after, and completely expects that to reschedule.) Either way, it seems plausible an END would take a few more cycles than most instructions, since it generates an interrupt.
This commit is contained in:
parent
253e11acfa
commit
99e4300f95
@ -773,6 +773,9 @@ void GPUCommon::Execute_End(u32 op, u32 diff) {
|
||||
easy_guard guard(listLock);
|
||||
const u32 prev = Memory::ReadUnchecked_U32(currentList->pc - 4);
|
||||
UpdatePC(currentList->pc);
|
||||
// Count in a few extra cycles on END.
|
||||
cyclesExecuted += 60;
|
||||
|
||||
switch (prev >> 24) {
|
||||
case GE_CMD_SIGNAL:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user