summaryrefslogtreecommitdiff
path: root/Data/Sys/GameSettings/GC6P01.ini
blob: 1d22faa89a9a5226c1270c30239c8957967e6afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# GC6P01 - Pokémon Colosseum

[OnFrame]
# This game has extra memory card checks compared to most games,
# presumably to prevent Pokémon duping. These can interfere with
# saving your game when using savestates.
#
# 0x801d429c:
# Originally a branch that checks if the save counter in memory
# matches the one on the memory card. We patch this to instead
# overwrite the counter in memory with the one from the memory
# card. We need to do this because each memory card file actually
# contains three save slots the game rotates when saving, and
# when loading it loads the save with the biggest save counter.
# So we need to make sure the newly written save (which uses
# the value from memory + 1) is higher than any save currently
# on the card.
#
# 0x801d42ec:
# Another branch. Not entirely sure what this one checks, but
# not patching this one sometimes still makes it recognize the
# memory card as 'not the same Memory Card as the one used to
# load the saved data', so nop it out.
#
$Allow Memory Card saving with Savestates
0x801d429c:dword:0x9005002c
0x801d42ec:dword:0x60000000

[OnFrame_Enabled]
$Allow Memory Card saving with Savestates

[ActionReplay]
$16:9 Widescreen [Ralf]
04005300 C3A2B144
04005304 EFBD00B2
04005308 480A1C68
040A6F6C 4BF5E394
044CBCA4 3FAAAAAB
$60 FPS [Nerdzilla]
04005E90 38600000

[Patches_RetroAchievements_Verified]
$Allow Memory Card saving with Savestates

[AR_RetroAchievements_Verified]
$16:9 Widescreen [Ralf]
$60 FPS [Nerdzilla]