Moved .rodata in unknown_064830 from asm to C.

This commit is contained in:
David Benepe
2021-05-30 17:58:14 -05:00
parent c95fd196a8
commit 9eecfad902
2 changed files with 24 additions and 41 deletions
-40
View File
@@ -1,40 +0,0 @@
.include "macros.inc"
.macro .aligned_text ascii
.asciz "\ascii"
.balign 4
.endm
.section .rodata
glabel D_800E6E70
.word 0x80063FE8
.word 0x8006401C
.word 0x8006407C
.word 0x80064050
.word 0x800640A8
.word 0x800640D4
.word 0x80064144
.word 0x800641C4
glabel D_800E6E90
.word 0x4105221B
glabel D_800E6E94
.word 0x3D3FB61B
.word 0x00000000
.word 0x00000000
glabel D_800E6EA0
.word 0x80064AD8
.word 0x80064AE4
.word 0x80064AFC
.word 0x80064B08
.word 0x80064AF0
.word 0x80064B14
glabel D_800E6EB8
.word 0x4105221B
glabel D_800E6EBC
.word 0x3D3FB61B
+24 -1
View File
@@ -87,9 +87,32 @@ s32 D_800DD028[10] = {
0x00000000, 0x00000000
};
/*******************************/
/************ .rodata ************/
// Jump table in alFxParamHdl
const u32 D_800E6E70[] = {
0x80063FE8, 0x8006401C, 0x8006407C, 0x80064050,
0x800640A8, 0x800640D4, 0x80064144, 0x800641C4
};
const FloatLiteral D_800E6E90 = { 8.320827f };
const FloatLiteral D_800E6E94 = { 0.04680453f };
const DoubleLiteral D_800E6E98 = { 0.0f }; // Probably a file boundary.
// Jump table in alFxNew
const u32 D_800E6EA0[] = {
0x80064AD8, 0x80064AE4, 0x80064AFC, 0x80064B08,
0x80064AF0, 0x80064B14
};
const FloatLiteral D_800E6EB8 = { 8.320827f };
const FloatLiteral D_800E6EBC = { 0.04680453f };
/*********************************/
extern s32 alAuxBusPull;
extern s32 alAuxBusParam;
extern s32 alEnvMixerPull;