| 1 | # GLSP64 - 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 | 0x8010A0F4:dword:0x60000000 |
| 18 | |
| 19 | [OnFrame_Enabled] |
| 20 | $Fix freeze in opening cutscene |
| 21 | |
| 22 | [Gecko] |
| 23 | $16:9 Widescreen |
| 24 | 04003700 EC40F824 |
| 25 | 04003704 C062EFFC |
| 26 | 04003708 EC4300B2 |
| 27 | 0400370C 4806554C |
| 28 | 04068C54 4BF9AAAC |
| 29 | $60Hz |
| 30 | 040C1154 38800000 |
| 31 | 040C1A08 90030154 |
| 32 | 040C1A34 38032310 |
| 33 | |
| 34 | [Patches_RetroAchievements_Verified] |
| 35 | $Fix freeze in opening cutscene |
| 36 | |
| 37 | [Gecko_RetroAchievements_Verified] |
| 38 | $16:9 Widescreen |
| 39 | $60Hz |