diff options
author | Treeki <treeki@gmail.com> | 2013-01-31 04:17:37 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-01-31 04:17:37 +0100 |
commit | b9f9eeb73d6e3f4ebbd5d45c5997f73478425779 (patch) | |
tree | 4f25550df84b7cb77601c699d7ce4d4858a2f9f9 /replay.yaml | |
parent | 26f0eac040ac5cdbd2dd57ef8fb56c54066f40d1 (diff) | |
download | kamek-b9f9eeb73d6e3f4ebbd5d45c5997f73478425779.tar.gz kamek-b9f9eeb73d6e3f4ebbd5d45c5997f73478425779.zip |
add replays as an on/off thing
Diffstat (limited to '')
-rw-r--r-- | replay.yaml | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/replay.yaml b/replay.yaml index 0dc9084..c60d848 100644 --- a/replay.yaml +++ b/replay.yaml @@ -1,4 +1,4 @@ -source_files: [replay.S] +source_files: [../src/replay.S] hooks: - name: ReplayHookStart type: branch_insn @@ -15,25 +15,28 @@ hooks: branch_type: b src_addr_pal: 0x8006A1B4 target_func: 'replayRecord' - - name: LuigiOverride - type: branch_insn - branch_type: b - src_addr_pal: 0x800E50B4 - target_func: 'luigiOverride' +# - name: LuigiOverride +# type: branch_insn +# branch_type: b +# src_addr_pal: 0x800E50B4 +# target_func: 'luigiOverride' - name: GetAndSaveRandomSeed type: branch_insn branch_type: b src_addr_pal: 0x8091F930 target_func: 'getAndSaveRandomSeed' - name: ReplayInitPatch1 - type: patch - addr_pal: 0x80920124 - data: '38841D68' # might not work on NTSC + type: branch_insn + branch_type: bl + src_addr_pal: 0x80920124 + target_func: 'ChooseReplayStateIfNeeded' - name: ReplayInitPatch2 - type: patch - addr_pal: 0x8092016C - data: '38841D68' # might not work on NTSC + type: branch_insn + branch_type: bl + src_addr_pal: 0x8092016C + target_func: 'ChooseReplayStateIfNeeded' - name: ReplayPrepareSkip - type: patch - addr_pal: 0x8091F6EC - data: '48000220' # branches past most of the function + type: branch_insn + branch_type: b + src_addr_pal: 0x8091F6E8 + target_func: 'SkipReplayPrepareIfNeeded' |