Moved .rodata in unknown_05F0C0, unknown_0667D0, and unknown_0CA530 from asm to C.

This commit is contained in:
David Benepe
2021-05-30 17:57:36 -05:00
parent 6ed98a11a5
commit 12d379c207
6 changed files with 25 additions and 58 deletions
-20
View File
@@ -1,20 +0,0 @@
.include "macros.inc"
.macro .aligned_text ascii
.asciz "\ascii"
.balign 4
.endm
.section .rodata
glabel D_800E6AA0
.word 0x3FD33333
glabel D_800E6AA4
.word 0x33333333
glabel D_800E6AA8
.word 0x4085E000
glabel D_800E6AAC
.word 0x00000000
-14
View File
@@ -1,14 +0,0 @@
.include "macros.inc"
.macro .aligned_text ascii
.asciz "\ascii"
.balign 4
.endm
.section .rodata
glabel D_800E6ED0
.aligned_text "WARNING: Stack overflow/underflow!!!\n"
.word 0x00000000
.word 0x00000000
-24
View File
@@ -1,24 +0,0 @@
.include "macros.inc"
.macro .aligned_text ascii
.asciz "\ascii"
.balign 4
.endm
.section .rodata
glabel D_800E94B0
.word 0x412E8480
.word 0x00000000
glabel D_800E94B8
.word 0x412E8480
.word 0x00000000
glabel D_800E94C0
.word 0x3F8012EF
glabel D_800E94C4
.word 0x3F7FDA28
.word 0x00000000
.word 0x00000000
+9
View File
@@ -4,6 +4,15 @@
#include "types.h"
#include "macros.h"
/************ .rodata ************/
const DoubleLiteral D_800E94B0 = { 1000000.0 };
const DoubleLiteral D_800E94B8 = { 1000000.0 };
const FloatLiteral D_800E94C0 = { 1.0005778075f };
const FloatLiteral D_800E94C4 = { 0.999422551f };
/*********************************/
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA530/alSynFreeVoice.s")
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA530/alCents2Ratio.s")
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA530/osSetIntMask.s")
+8
View File
@@ -15,4 +15,12 @@ s16 D_800DCE40[16] = {
/*******************************/
/************ .rodata ************/
// In func_8005E4C0
const DoubleLiteral D_800E6AA0 = { 0.3 };
const DoubleLiteral D_800E6AA8 = { 700.0 };
/*********************************/
GLOBAL_ASM("asm/non_matchings/unknown_05F0C0/func_8005E4C0.s")
+8
View File
@@ -12,6 +12,14 @@ s16 D_800DD050 = 0;
extern s32* D_80065D98;
/************ .rodata ************/
// In func_80065E30
const char D_800E6ED0[] = "WARNING: Stack overflow/underflow!!!\n";
/*********************************/
/************ .bss ************/
extern s32* D_8011D750;