summaryrefslogtreecommitdiff
path: root/libs/JSystem/J2DGraph/J2DTextBoxEx.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 /libs/JSystem/J2DGraph/J2DTextBoxEx.cpp
parented1ee30dd20ab15ba73b987f1e59b0dfc16d09b2 (diff)
detect more floats/doubles, including from relocations
Diffstat (limited to 'libs/JSystem/J2DGraph/J2DTextBoxEx.cpp')
-rw-r--r--libs/JSystem/J2DGraph/J2DTextBoxEx.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libs/JSystem/J2DGraph/J2DTextBoxEx.cpp b/libs/JSystem/J2DGraph/J2DTextBoxEx.cpp
index 59db2e2db7..0777ee74b7 100644
--- a/libs/JSystem/J2DGraph/J2DTextBoxEx.cpp
+++ b/libs/JSystem/J2DGraph/J2DTextBoxEx.cpp
@@ -38,18 +38,22 @@ struct J2DTextBoxVBinding {};
struct J2DTextBoxHBinding {};
-struct J2DAnmBase {};
+struct J2DAnmVtxColor {};
+
+struct J2DAnmTextureSRTKey {};
struct J2DAnmColor {};
-struct J2DAnmVtxColor {};
+struct J2DAnmBase {};
+
+struct J2DAnmTevRegKey {};
+
+struct J2DAnmTransform {};
struct J2DAnmVisibilityFull {
/* 8030C048 */ void getVisibility(u16, u8*) const;
};
-struct J2DAnmTransform {};
-
struct J2DPane {
/* 80053BC0 */ void calcMtx();
/* 80053C00 */ void makeMatrix(f32, f32);
@@ -73,12 +77,8 @@ struct J2DPane {
/* 802F8474 */ void update();
};
-struct J2DAnmTevRegKey {};
-
struct J2DTevStage {};
-struct J2DAnmTextureSRTKey {};
-
struct J2DAnmTexPattern {};
struct J2DMaterial {
@@ -426,7 +426,7 @@ asm void J2DTextBoxEx::setTevStage(bool param_0) {
SECTION_RODATA static u8 const lit_1953[12] = {
0x0F, 0x08, 0x0A, 0x0F, 0x02, 0x04, 0x08, 0x0F, 0x0F, 0x0A, 0x00, 0x0F,
};
-SECTION_DEAD void* const cg_803A1DB8 = (void*)(&lit_1953);
+COMPILER_STRIP_GATE(803A1DB8, &lit_1953);
/* 803A1DC4-803A1DD0 02E424 000C+00 0/1 0/0 0/0 .rodata @1954 */
#pragma push
@@ -434,7 +434,7 @@ SECTION_DEAD void* const cg_803A1DB8 = (void*)(&lit_1953);
SECTION_RODATA static u8 const lit_1954[12] = {
0x07, 0x04, 0x05, 0x07, 0x01, 0x02, 0x04, 0x07, 0x07, 0x05, 0x00, 0x07,
};
-SECTION_DEAD void* const cg_803A1DC4 = (void*)(&lit_1954);
+COMPILER_STRIP_GATE(803A1DC4, &lit_1954);
#pragma pop
/* 803A1DD0-803A1DE0 02E430 000F+01 0/1 0/0 0/0 .rodata @1955 */
@@ -459,7 +459,7 @@ SECTION_RODATA static u8 const lit_1955[15 + 1 /* padding */] = {
/* padding */
0x00,
};
-SECTION_DEAD void* const cg_803A1DD0 = (void*)(&lit_1955);
+COMPILER_STRIP_GATE(803A1DD0, &lit_1955);
#pragma pop
/* 803A1DE0-803A1DF0 02E440 000F+01 0/1 0/0 0/0 .rodata @1956 */
@@ -484,7 +484,7 @@ SECTION_RODATA static u8 const lit_1956[15 + 1 /* padding */] = {
/* padding */
0x00,
};
-SECTION_DEAD void* const cg_803A1DE0 = (void*)(&lit_1956);
+COMPILER_STRIP_GATE(803A1DE0, &lit_1956);
#pragma pop
/* 80307F94-8030823C 3028D4 02A8+00 1/1 0/0 0/0 .text