| 1 | # GC6E01 - Pokémon Colosseum |
| 2 | |
| 3 | [OnFrame] |
| 4 | # This game has extra memory card checks compared to most games, |
| 5 | # presumably to prevent Pokémon duping. These can interfere with |
| 6 | # saving your game when using savestates. |
| 7 | # |
| 8 | # 0x801cfc2c: |
| 9 | # Originally a branch that checks if the save counter in memory |
| 10 | # matches the one on the memory card. We patch this to instead |
| 11 | # overwrite the counter in memory with the one from the memory |
| 12 | # card. We need to do this because each memory card file actually |
| 13 | # contains three save slots the game rotates when saving, and |
| 14 | # when loading it loads the save with the biggest save counter. |
| 15 | # So we need to make sure the newly written save (which uses |
| 16 | # the value from memory + 1) is higher than any save currently |
| 17 | # on the card. |
| 18 | # |
| 19 | # 0x801cfc7c: |
| 20 | # Another branch. Not entirely sure what this one checks, but |
| 21 | # not patching this one sometimes still makes it recognize the |
| 22 | # memory card as 'not the same Memory Card as the one used to |
| 23 | # load the saved data', so nop it out. |
| 24 | # |
| 25 | $Allow Memory Card saving with Savestates |
| 26 | 0x801cfc2c:dword:0x9005002c |
| 27 | 0x801cfc7c:dword:0x60000000 |
| 28 | |
| 29 | [OnFrame_Enabled] |
| 30 | $Allow Memory Card saving with Savestates |
| 31 | |
| 32 | [ActionReplay] |
| 33 | $16:9 Widescreen |
| 34 | 04005300 C3A2B084 |
| 35 | 04005304 EFBD00B2 |
| 36 | 04005308 4809E62C |
| 37 | 040A3930 4BF619D0 |
| 38 | 0447E724 3FAAAAAB |
| 39 | $60 FPS [Nerdzilla] |
| 40 | 04005D98 38600000 |
| 41 | |
| 42 | [Patches_RetroAchievements_Verified] |
| 43 | $Allow Memory Card saving with Savestates |
| 44 | |
| 45 | [AR_RetroAchievements_Verified] |
| 46 | $16:9 Widescreen |
| 47 | $60 FPS [Nerdzilla] |