From 6ed98a11a5b1a1f151cfb4104ec32ed9a706c37b Mon Sep 17 00:00:00 2001 From: David Benepe Date: Sat, 29 May 2021 22:20:38 -0500 Subject: [PATCH] Moved .rodata in unknown_0CA730 from asm to C. --- data/unknown_0CA730.rodata.s | 16 ---------------- lib/src/unknown_0CA730.c | 8 ++++++++ 2 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 data/unknown_0CA730.rodata.s diff --git a/data/unknown_0CA730.rodata.s b/data/unknown_0CA730.rodata.s deleted file mode 100644 index 07e5356a..00000000 --- a/data/unknown_0CA730.rodata.s +++ /dev/null @@ -1,16 +0,0 @@ -.include "macros.inc" - -.macro .aligned_text ascii - .asciz "\ascii" - .balign 4 -.endm - -.section .rodata - -glabel D_800E9550 -.word 0x80000000 -.word 0x00000000 - -glabel D_800E9558 -.word 0x80000000 -.word 0x00000000 diff --git a/lib/src/unknown_0CA730.c b/lib/src/unknown_0CA730.c index 1d48aaaa..8a7aee72 100644 --- a/lib/src/unknown_0CA730.c +++ b/lib/src/unknown_0CA730.c @@ -4,6 +4,14 @@ #include "types.h" #include "macros.h" +/************ .rodata ************/ + +// In __f_to_ll +const DoubleLiteral D_800E9550 = { -0.0 }; +const DoubleLiteral D_800E9558 = { -0.0 }; + +/*********************************/ + GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA730/__d_to_ll.s") GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA730/__f_to_ll.s") GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA730/__ll_to_f.s")