Moved .rodata in unknown_080240 from asm to C.

This commit is contained in:
David Benepe
2021-05-30 17:52:50 -05:00
parent 47e6de7646
commit db78c06230
2 changed files with 1 additions and 16 deletions
-13
View File
@@ -1,13 +0,0 @@
.include "macros.inc"
.macro .aligned_text ascii
.asciz "\ascii"
.balign 4
.endm
.section .rodata
glabel D_800E7C90
.aligned_text "SCREEN: No out of range!!\n"
.word 0x00000000
+1 -3
View File
@@ -15,8 +15,6 @@ Gfx D_800DF440[] = {
/*******************************/
extern s32 D_800E7C90;
u32 func_8007F640(s32 arg0) {
u32 someAddr;
s32 count, start, size;
@@ -37,7 +35,7 @@ u32 func_8007F640(s32 arg0) {
return 0x80100000;
} else {
if (arg0 < 0 || arg0 >= count) {
func_800C9D54(&D_800E7C90);
func_800C9D54("SCREEN: No out of range!!\n");
arg0 = 0;
}