From 807b4ee29b71b340d26051b278bd8c3b83e5d776 Mon Sep 17 00:00:00 2001 From: David Benepe Date: Sat, 5 Jun 2021 15:03:18 -0500 Subject: [PATCH] Moved rodata from C to GLOBAL_ASM in unknown_05FF10 --- asm/non_matchings/unknown_05F690/func_8005F310.s | 9 +++++++++ src/unknown_05FF10.c | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/asm/non_matchings/unknown_05F690/func_8005F310.s b/asm/non_matchings/unknown_05F690/func_8005F310.s index b6276a4f..5cf32d49 100644 --- a/asm/non_matchings/unknown_05F690/func_8005F310.s +++ b/asm/non_matchings/unknown_05F690/func_8005F310.s @@ -1,3 +1,12 @@ +.late_rodata +glabel D_800E6B00 +.double 0.3 +glabel D_800E6B08 +.double -0.3 +glabel D_800E6B10 +.double 0.4 + +.text glabel func_8005F310 /* 05FF10 8005F310 27BDFFC0 */ addiu $sp, $sp, -0x40 /* 05FF14 8005F314 AFA40040 */ sw $a0, 0x40($sp) diff --git a/src/unknown_05FF10.c b/src/unknown_05FF10.c index 71aeb2ca..27129541 100644 --- a/src/unknown_05FF10.c +++ b/src/unknown_05FF10.c @@ -16,13 +16,4 @@ s16 D_800DCE80[14] = { /*******************************/ -/************ .rodata ************/ - -const DoubleLiteral D_800E6B00 = { 0.3 }; -const DoubleLiteral D_800E6B08 = { -0.3 }; -const DoubleLiteral D_800E6B10 = { 0.4 }; - -/*********************************/ - - GLOBAL_ASM("asm/non_matchings/unknown_05F690/func_8005F310.s") \ No newline at end of file