direct return in ppu_check

This commit is contained in:
trigger 2023-07-31 15:10:16 -07:00 committed by Ivan
parent 39a0ff99b2
commit 0f3dfec7f2

View File

@ -2457,10 +2457,10 @@ static void ppu_check(ppu_thread& ppu, u64 addr)
{ {
ppu.cia = ::narrow<u32>(addr); ppu.cia = ::narrow<u32>(addr);
// ppu_check() shall not return directly
if (ppu.test_stopped()) if (ppu.test_stopped())
{} {
ppu_escape(&ppu); return;
}
} }
static void ppu_trace(u64 addr) static void ppu_trace(u64 addr)