mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Moved .rodata in unknown_05F0C0, unknown_0667D0, and unknown_0CA530 from asm to C.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
.include "macros.inc"
|
||||
|
||||
.macro .aligned_text ascii
|
||||
.asciz "\ascii"
|
||||
.balign 4
|
||||
.endm
|
||||
|
||||
.section .rodata
|
||||
|
||||
glabel D_800E6AA0
|
||||
.word 0x3FD33333
|
||||
|
||||
glabel D_800E6AA4
|
||||
.word 0x33333333
|
||||
|
||||
glabel D_800E6AA8
|
||||
.word 0x4085E000
|
||||
|
||||
glabel D_800E6AAC
|
||||
.word 0x00000000
|
||||
@@ -1,14 +0,0 @@
|
||||
.include "macros.inc"
|
||||
|
||||
.macro .aligned_text ascii
|
||||
.asciz "\ascii"
|
||||
.balign 4
|
||||
.endm
|
||||
|
||||
.section .rodata
|
||||
|
||||
glabel D_800E6ED0
|
||||
.aligned_text "WARNING: Stack overflow/underflow!!!\n"
|
||||
|
||||
.word 0x00000000
|
||||
.word 0x00000000
|
||||
@@ -1,24 +0,0 @@
|
||||
.include "macros.inc"
|
||||
|
||||
.macro .aligned_text ascii
|
||||
.asciz "\ascii"
|
||||
.balign 4
|
||||
.endm
|
||||
|
||||
.section .rodata
|
||||
|
||||
glabel D_800E94B0
|
||||
.word 0x412E8480
|
||||
.word 0x00000000
|
||||
|
||||
glabel D_800E94B8
|
||||
.word 0x412E8480
|
||||
.word 0x00000000
|
||||
|
||||
glabel D_800E94C0
|
||||
.word 0x3F8012EF
|
||||
|
||||
glabel D_800E94C4
|
||||
.word 0x3F7FDA28
|
||||
.word 0x00000000
|
||||
.word 0x00000000
|
||||
@@ -4,6 +4,15 @@
|
||||
#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")
|
||||
|
||||
@@ -15,4 +15,12 @@ s16 D_800DCE40[16] = {
|
||||
|
||||
/*******************************/
|
||||
|
||||
/************ .rodata ************/
|
||||
|
||||
// In func_8005E4C0
|
||||
const DoubleLiteral D_800E6AA0 = { 0.3 };
|
||||
const DoubleLiteral D_800E6AA8 = { 700.0 };
|
||||
|
||||
/*********************************/
|
||||
|
||||
GLOBAL_ASM("asm/non_matchings/unknown_05F0C0/func_8005E4C0.s")
|
||||
|
||||
@@ -12,6 +12,14 @@ s16 D_800DD050 = 0;
|
||||
|
||||
extern s32* D_80065D98;
|
||||
|
||||
/************ .rodata ************/
|
||||
|
||||
// In func_80065E30
|
||||
const char D_800E6ED0[] = "WARNING: Stack overflow/underflow!!!\n";
|
||||
|
||||
/*********************************/
|
||||
|
||||
|
||||
/************ .bss ************/
|
||||
|
||||
extern s32* D_8011D750;
|
||||
|
||||
Reference in New Issue
Block a user