| 1 | # GLSF64 - Gladius |
| 2 | |
| 3 | [OnFrame] |
| 4 | # This game can deadlock the CPU and GPU by setting FIFO breakpoints too |
| 5 | # infrequently, provided the CPU gets too far ahead, as can happen under Dolphin |
| 6 | # due to timing inaccuracies. The game never clears breakpoints, and it will |
| 7 | # skip setting them if the previous one has not been hit by the GPU. If the CPU |
| 8 | # gets far enough ahead it will reach the FIFO high water mark and trigger an |
| 9 | # overflow interrupt, causing the render thread to be suspended. The GPU will |
| 10 | # make forward progress until it hits the last set breakpoint. However, if the |
| 11 | # distance between that breakpoint and the FIFO write pointer is greater than |
| 12 | # the low water mark, then the GPU will never generate an underflow interrupt |
| 13 | # and the render thread will never be resumed. This patch forces the game to |
| 14 | # update the breakpoint unconditionally and has been tested on real hardware |
| 15 | # with no apparent ill effect. |
| 16 | $Fix freeze in opening cutscene |
| 17 | 0x8010A388:dword:0x60000000 |
| 18 | |
| 19 | [OnFrame_Enabled] |
| 20 | $Fix freeze in opening cutscene |
| 21 | |
| 22 | [Patches_RetroAchievements_Verified] |
| 23 | $Fix freeze in opening cutscene |