mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Moved .rodata in unknown_080240 from asm to C.
This commit is contained in:
@@ -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
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user