summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2025-03-30 00:30:54 +0000
committerTillmann Karras <tilkax@gmail.com>2025-03-30 00:48:22 +0000
commit7e578346911952527b2ed2aef492e2ce4e0ee451 (patch)
tree4b557f7266fa83a3674a5fc5a118500c17aecba5 /Source/Core/VideoCommon/TextureCacheBase.cpp
parent9819d66a478be3d57af9278e6c2cb433556a78d1 (diff)
GameSettings: fix startup hang in Moki Moki
The game sets up a fifo breakpoint callback that just writes a flag to memory. The hang occurs right after calling GXEnableBreakPt(). It is a busy loop that repeatedly compares the same register without reloading it from memory. I guess the developers forgot to make the variable atomic and never noticed because on hardware the breakpoint is hit immediately so the flag is already set when it is loaded for the first (and only) time. This patch grows the loop by one instruction to include the flag load in the loop.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions