Moved .rodata in unknown_07B870 from asm to C.

This commit is contained in:
David Benepe
2021-05-30 17:58:14 -05:00
parent c91759a97a
commit a074165247
2 changed files with 15 additions and 20 deletions
-20
View File
@@ -1,20 +0,0 @@
.include "macros.inc"
.macro .aligned_text ascii
.asciz "\ascii"
.balign 4
.endm
.section .rodata
.aligned_text "Error: Texture no %x out of range on load. !!\n"
.aligned_text "TEX Error: Palette memory overflow!!\n"
.aligned_text "TEX Error: TexTab overflow!!\n"
.aligned_text "texFreeTexture: NULL tex!!\n"
.aligned_text "TEX Error: Tryed to deallocate non-existent texture!!\n"
.aligned_text "SRPBUF overflow!!\n"
.aligned_text "Error: Sprite table overflow!!\n"
.aligned_text "texFreeSprite: NULL sprite!!\n"
.aligned_text "TEXSPR Error: Tryed to deallocate non-existent sprite!!\n"
.word 0x00000000
+15
View File
@@ -466,6 +466,21 @@ u32 D_800DF410[] = {
/*******************************/
/************ .rodata ************/
const char D_800E7B30[] = "Error: Texture no %x out of range on load. !!\n";
const char D_800E7B60[] = "TEX Error: Palette memory overflow!!\n";
const char D_800E7B88[] = "TEX Error: TexTab overflow!!\n";
const char D_800E7BA8[] = "texFreeTexture: NULL tex!!\n";
const char D_800E7BC4[] = "TEX Error: Tryed to deallocate non-existent texture!!\n";
const char D_800E7BFC[] = "SRPBUF overflow!!\n";
const char D_800E7C10[] = "Error: Sprite table overflow!!\n";
const char D_800E7C30[] = "texFreeSprite: NULL sprite!!\n";
const char D_800E7C50[] = "TEXSPR Error: Tryed to deallocate non-existent sprite!!\n";
/*********************************/
/************ .bss ************/
extern s32 D_80126338;