mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Moved rodata from C to GLOBAL_ASM in lib/unknown_0CA530
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
.late_rodata
|
||||
glabel D_800E94B0
|
||||
.double 1000000.0
|
||||
|
||||
.text
|
||||
glabel func_800C8284
|
||||
/* 0C8E84 800C8284 8C8E0000 */ lw $t6, ($a0)
|
||||
/* 0C8E88 800C8288 44856000 */ mtc1 $a1, $f12
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
.late_rodata
|
||||
glabel D_800E94B8
|
||||
.double 1000000.0
|
||||
|
||||
.text
|
||||
glabel func_800C8380
|
||||
/* 0C8F80 800C8380 44852000 */ mtc1 $a1, $f4
|
||||
/* 0C8F84 800C8384 44864000 */ mtc1 $a2, $f8
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
.late_rodata
|
||||
glabel D_800E94C0
|
||||
.float 1.0005778075
|
||||
glabel D_800E94C4
|
||||
.float 0.999422551
|
||||
|
||||
.text
|
||||
glabel alCents2Ratio
|
||||
/* 0CA5E0 800C99E0 3C013F80 */ li $at, 0x3F800000 # 1.000000
|
||||
/* 0CA5E4 800C99E4 44811000 */ mtc1 $at, $f2
|
||||
|
||||
@@ -4,15 +4,6 @@
|
||||
#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")
|
||||
|
||||
@@ -12,8 +12,8 @@ C_JMPTABLE_REGEX = r"(?:(?:D_)|0x)[0-9A-Fa-f]{8}"
|
||||
NO_OUTPUT = False # If True, then no files will be changed.
|
||||
ONLY_THE_FIRST_ASM_FILE = False # If True, then only one asm file will be changed.
|
||||
|
||||
#ASM_DIRECTORY = 'asm/non_matchings/'
|
||||
ASM_DIRECTORY = 'lib/asm/non_matchings/'
|
||||
ASM_DIRECTORY = 'asm/non_matchings/'
|
||||
#ASM_DIRECTORY = 'lib/asm/non_matchings/'
|
||||
|
||||
def getMatches(string, regex):
|
||||
out = []
|
||||
|
||||
Reference in New Issue
Block a user