mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-28 01:54:27 +01:00
5adc1bdecd
The game calls GXSetDrawDone and then switches the GP fifo without first
waiting for the draw done interrupt to arrive. Before
e96960e2a6
, Dolphin would not execute the
draw done command and potentially also skip other commands in the old GP
fifo. Since that commit, Dolphin executes the remaining commands on the
old GP fifo just before disabling reads for switching, but because
PixelEngineManager::RaiseEvent() enforces a minimum delay of 500 cycles
for the draw done interrupt, it arrives after the game has switched to
the new GP fifo which seems to trigger the deadlock.
This patch replaces the call to GXSetDrawDone by a call to GXDrawDone
which does the same but also waits for the interrupt.
9 lines
122 B
INI
9 lines
122 B
INI
# GEDW01 - Eternal Darkness
|
|
|
|
[OnFrame]
|
|
$Fix startup hang
|
|
0x801BE42C:dword:0x48036E65
|
|
|
|
[OnFrame_Enabled]
|
|
$Fix startup hang
|