From b99479f17fcda9fc6c3147cc9647afc16a9c8856 Mon Sep 17 00:00:00 2001 From: David Benepe Date: Sat, 29 May 2021 22:17:54 -0500 Subject: [PATCH] Moved .rodata in unknown_065D30 from asm to C. --- data/unknown_065D30.rodata.s | 16 ---------------- src/unknown_065D30.c | 7 +++++++ 2 files changed, 7 insertions(+), 16 deletions(-) delete mode 100644 data/unknown_065D30.rodata.s diff --git a/data/unknown_065D30.rodata.s b/data/unknown_065D30.rodata.s deleted file mode 100644 index 8039fb69..00000000 --- a/data/unknown_065D30.rodata.s +++ /dev/null @@ -1,16 +0,0 @@ -.include "macros.inc" - -.macro .aligned_text ascii - .asciz "\ascii" - .balign 4 -.endm - -.section .rodata - -glabel D_800E6EC0 -.word 0x412E8480 - -glabel D_800E6EC4 -.word 0x00000000 -.word 0x00000000 -.word 0x00000000 diff --git a/src/unknown_065D30.c b/src/unknown_065D30.c index 7d56eca1..2d897500 100644 --- a/src/unknown_065D30.c +++ b/src/unknown_065D30.c @@ -4,6 +4,13 @@ #include "types.h" #include "macros.h" +/************ .rodata ************/ + +// In __timeToSamplesNoRound +const DoubleLiteral D_800E6EC0 = { 1000000.0 }; + +/*********************************/ + GLOBAL_ASM("asm/non_matchings/unknown_065D30/alSynNew.s") GLOBAL_ASM("asm/non_matchings/unknown_065D30/alAudioFrame.s") GLOBAL_ASM("asm/non_matchings/unknown_065D30/__allocParam.s")