summaryrefslogtreecommitdiff
path: root/src/msg/scrn/d_msg_scrn_3select.cpp
diff options
context:
space:
mode:
authorJulgodis <>2021-04-07 09:16:47 +0200
committerJulgodis <>2021-04-07 09:16:47 +0200
commitdca1d2a1c032f239c65aa1b7767132c12e89f628 (patch)
tree103f2574cfa7c6b9f19df522447d0b58861b60ba /src/msg/scrn/d_msg_scrn_3select.cpp
parented1ee30dd20ab15ba73b987f1e59b0dfc16d09b2 (diff)
detect more floats/doubles, including from relocations
Diffstat (limited to 'src/msg/scrn/d_msg_scrn_3select.cpp')
-rw-r--r--src/msg/scrn/d_msg_scrn_3select.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/msg/scrn/d_msg_scrn_3select.cpp b/src/msg/scrn/d_msg_scrn_3select.cpp
index 1ad7f84c15..13ba2d0cbd 100644
--- a/src/msg/scrn/d_msg_scrn_3select.cpp
+++ b/src/msg/scrn/d_msg_scrn_3select.cpp
@@ -11,13 +11,13 @@
// Types:
//
+struct JKRArchive {};
+
struct J2DPane {
/* 802F7100 */ void getBounds();
/* 802F7FCC */ void animationTransform();
};
-struct JKRArchive {};
-
struct dSelect_cursor_c {
/* 80194220 */ dSelect_cursor_c(u8, f32, JKRArchive*);
/* 801950F4 */ void setPos(f32, f32, J2DPane*, bool);
@@ -207,7 +207,7 @@ SECTION_RODATA static u8 const tag_name[288] = {
0x77, 0x5F, 0x79, 0x65, 0x73, 0x5F, 0x31, 0x34, 0x73, 0x65, 0x6C, 0x5F, 0x70, 0x6F, 0x30, 0x32,
0x00, 0x63, 0x5F, 0x6B, 0x61, 0x68, 0x65, 0x6E, 0x63, 0x5F, 0x63, 0x75, 0x72, 0x73, 0x6F, 0x72,
};
-SECTION_DEAD void* const cg_80399708 = (void*)(&tag_name);
+COMPILER_STRIP_GATE(80399708, &tag_name);
/* 803C0C00-803C0C0C 01DD20 000C+00 1/1 0/0 0/0 .data cNullVec__6Z2Calc */
SECTION_DATA static u8 cNullVec__6Z2Calc[12] = {
@@ -675,7 +675,7 @@ asm void dMsgScrn3Select_c::getTextBoxGlobalPosY(int param_0) {
SECTION_RODATA static u8 const lit_4497[12] = {
0x43, 0x4C, 0x00, 0x00, 0x43, 0x98, 0x00, 0x00, 0x43, 0xCA, 0x00, 0x00,
};
-SECTION_DEAD void* const cg_80399828 = (void*)(&lit_4497);
+COMPILER_STRIP_GATE(80399828, &lit_4497);
/* 8023AA04-8023AAF4 235344 00F0+00 1/0 0/0 0/0 .text open1Proc__17dMsgScrn3Select_cFv */
#pragma push
@@ -692,7 +692,7 @@ asm void dMsgScrn3Select_c::open1Proc() {
SECTION_RODATA static u8 const lit_4520[12] = {
0x43, 0x4C, 0x00, 0x00, 0x43, 0x98, 0x00, 0x00, 0x43, 0xCA, 0x00, 0x00,
};
-SECTION_DEAD void* const cg_80399834 = (void*)(&lit_4520);
+COMPILER_STRIP_GATE(80399834, &lit_4520);
/* 8023AAF4-8023AC14 235434 0120+00 1/0 0/0 0/0 .text open2Proc__17dMsgScrn3Select_cFv */
#pragma push