summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRandom <28494085+Random06457@users.noreply.github.com>2020-10-11 19:45:08 +0200
committerGitHub <noreply@github.com>2020-10-11 13:45:08 -0400
commitb010db7c19207f0e607d5ccaf0d1f2350dda3964 (patch)
tree12dc8d3a3dfb57705ba907dd0af855662ed35bde /data
parent9d3554220793d515230844f894ede66100bdc039 (diff)
Decompile z_sram.c (#431)
* Decompile z_sram.c * rename Sram_CalcChecksum to Sram_WriteSaveSlot * progress * done i think * add original name comments * temp substructs * minor fixes * review * review 2 * fix Co-authored-by: fig <fig02srl@gmail.com>
Diffstat (limited to 'data')
-rw-r--r--data/code_800EC960.data.s4
-rw-r--r--data/z_sram.data.s46
2 files changed, 2 insertions, 48 deletions
diff --git a/data/code_800EC960.data.s b/data/code_800EC960.data.s
index 243e2b9fb..8b594008d 100644
--- a/data/code_800EC960.data.s
+++ b/data/code_800EC960.data.s
@@ -294,10 +294,10 @@ glabel D_80131884
glabel D_8013188C
.incbin "baserom.z64", 0xBA8A2C, 0x358
-glabel D_80131BE4
+glabel gScarecrowCustomSongPtr
.word D_80131884
-glabel D_80131BE8
+glabel gScarecrowSpawnSongPtr
.word D_80131700
glabel D_80131BEC
diff --git a/data/z_sram.data.s b/data/z_sram.data.s
deleted file mode 100644
index 3b45c9934..000000000
--- a/data/z_sram.data.s
+++ /dev/null
@@ -1,46 +0,0 @@
-.include "macro.inc"
-
-# assembler directives
-.set noat # allow manual use of $at
-.set noreorder # don't insert nops after branches
-.set gp=64 # allow use of 64-bit general purpose registers
-
-.section .data
-
-.balign 16
-
-glabel D_8012A4E0
- .incbin "baserom.z64", 0xBA1680, 0x6
-
-glabel D_8012A4E6
- .incbin "baserom.z64", 0xBA1686, 0x6
-
-glabel D_8012A4EC
- .incbin "baserom.z64", 0xBA168C, 0xC
-
-glabel D_8012A4F8
- .incbin "baserom.z64", 0xBA1698, 0x4C
-
-glabel D_8012A544
- .incbin "baserom.z64", 0xBA16E4, 0xC
-
-glabel D_8012A550
- .incbin "baserom.z64", 0xBA16F0, 0x60
-
-glabel D_8012A5B0
- .incbin "baserom.z64", 0xBA1750, 0x4
-
-glabel D_8012A5B4
- .incbin "baserom.z64", 0xBA1754, 0x4C
-
-glabel D_8012A600
- .incbin "baserom.z64", 0xBA17A0, 0xC
-
-glabel D_8012A60C
- .incbin "baserom.z64", 0xBA17AC, 0x60
-
-glabel D_8012A66C
- .incbin "baserom.z64", 0xBA180C, 0x4
-
-glabel D_8012A670
- .incbin "baserom.z64", 0xBA1810, 0x20