summaryrefslogtreecommitdiff
path: root/libs/JSystem/J2DGraph/J2DPictureEx.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/J2DPictureEx.cpp
parented1ee30dd20ab15ba73b987f1e59b0dfc16d09b2 (diff)
detect more floats/doubles, including from relocations
Diffstat (limited to 'libs/JSystem/J2DGraph/J2DPictureEx.cpp')
-rw-r--r--libs/JSystem/J2DGraph/J2DPictureEx.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/libs/JSystem/J2DGraph/J2DPictureEx.cpp b/libs/JSystem/J2DGraph/J2DPictureEx.cpp
index 7e2f611bb7..182409e903 100644
--- a/libs/JSystem/J2DGraph/J2DPictureEx.cpp
+++ b/libs/JSystem/J2DGraph/J2DPictureEx.cpp
@@ -71,18 +71,22 @@ struct J2DScreen {
/* 802F9640 */ void getNameResource(char const*);
};
-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);
@@ -108,10 +112,6 @@ struct J2DPane {
/* 802F8474 */ void update();
};
-struct J2DAnmTevRegKey {};
-
-struct J2DAnmTextureSRTKey {};
-
struct J2DAnmTexPattern {};
struct J2DMaterial {
@@ -768,7 +768,7 @@ SECTION_RODATA static u8 const lit_2555[32] = {
0x0F, 0x08, 0x0A, 0x0F, 0x0F, 0x08, 0x0A, 0x0F, 0x0F, 0x08, 0x0E, 0x0F, 0x0F, 0x08, 0x0E, 0x00,
0x0F, 0x0A, 0x00, 0x0F, 0x02, 0x04, 0x08, 0x0F, 0x02, 0x04, 0x08, 0x0F, 0x02, 0x04, 0x00, 0x0F,
};
-SECTION_DEAD void* const cg_803A1D50 = (void*)(&lit_2555);
+COMPILER_STRIP_GATE(803A1D50, &lit_2555);
/* 80305688-80305928 2FFFC8 02A0+00 1/1 0/0 0/0 .text
* setStage__12J2DPictureExFP11J2DTevStageQ212J2DPictureEx10stage_enum */
@@ -1283,7 +1283,7 @@ SECTION_RODATA static u8 const lit_2556[32] = {
0x07, 0x04, 0x05, 0x07, 0x05, 0x07, 0x07, 0x07, 0x07, 0x04, 0x06, 0x07, 0x07, 0x04, 0x06, 0x00,
0x07, 0x05, 0x00, 0x07, 0x01, 0x02, 0x04, 0x07, 0x07, 0x07, 0x07, 0x02, 0x01, 0x02, 0x00, 0x07,
};
-SECTION_DEAD void* const cg_803A1D70 = (void*)(&lit_2556);
+COMPILER_STRIP_GATE(803A1D70, &lit_2556);
#pragma pop
/* 803A1D90-803A1DB8 02E3F0 0028+00 0/0 0/0 0/0 .rodata @2557 */
@@ -1294,5 +1294,5 @@ SECTION_RODATA static u8 const lit_2557[40] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
-SECTION_DEAD void* const cg_803A1D90 = (void*)(&lit_2557);
+COMPILER_STRIP_GATE(803A1D90, &lit_2557);
#pragma pop