add xbox patch support

This commit is contained in:
Martin Michelsen
2024-01-21 21:56:48 -08:00
parent db3cecdd2b
commit 80a57f9d3e
147 changed files with 584 additions and 198 deletions
@@ -0,0 +1,24 @@
.meta name="No item loss"
.meta description="Don't lose items if\nyou don't log off\nnormally"
# Original code by Ralf @ GC-Forever
entry_ptr:
reloc0:
.offsetof start
start:
.include WriteCodeBlocksGC
# region @ 801D33E4 (4 bytes)
.data 0x801D33E4 # address
.data 0x00000004 # size
.data 0x4800004C # 801D33E4 => b +0x0000004C /* 801D3430 */
# region @ 802C2060 (4 bytes)
.data 0x802C2060 # address
.data 0x00000004 # size
.data 0x4800004C # 802C2060 => b +0x0000004C /* 802C20AC */
# region @ 802D0AA0 (4 bytes)
.data 0x802D0AA0 # address
.data 0x00000004 # size
.data 0x48000020 # 802D0AA0 => b +0x00000020 /* 802D0AC0 */
# end sentinel
.data 0x00000000 # address
.data 0x00000000 # size