summaryrefslogtreecommitdiff
path: root/src/m_Do/m_Do_graphic.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-08-11 02:22:28 -0400
committerGitHub <noreply@github.com>2025-08-10 23:22:28 -0700
commitddf4fc0677f6b93162389063168458244e14ac59 (patch)
tree6a5ed9d344a1f28860754a8220659fd0fdefa243 /src/m_Do/m_Do_graphic.cpp
parent87858822619e0a503e12f78690388c67df13f220 (diff)
Misc framework fixes (#2578)
Diffstat (limited to 'src/m_Do/m_Do_graphic.cpp')
-rw-r--r--src/m_Do/m_Do_graphic.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/m_Do/m_Do_graphic.cpp b/src/m_Do/m_Do_graphic.cpp
index fe637f1093..a7f09f999b 100644
--- a/src/m_Do/m_Do_graphic.cpp
+++ b/src/m_Do/m_Do_graphic.cpp
@@ -17,7 +17,12 @@
#include "m_Do/m_Do_machine.h"
#include "m_Do/m_Do_main.h"
#include "SSystem/SComponent/c_math.h"
+// Possibly fakematch?
+// Using `sym off` for this header fixes J2DOrthoGraph::~J2DOrthoGraph being
+// incorrectly placed in a separate .text section.
+#pragma sym off
#include "JSystem/J2DGraph/J2DOrthoGraph.h"
+#pragma sym on
#include "JSystem/JParticle/JPADrawInfo.h"
#include "JSystem/JUtility/JUTConsole.h"
#include "JSystem/JFramework/JFWSystem.h"
@@ -510,7 +515,7 @@ static void drawDepth2(view_class* param_0, view_port_class* param_1, int param_
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
GXPosition3s16(x_orig, y_orig_pos, -5);
GXTexCoord2s8(0, 0);
- GXPosition3s16(width, y_orig_pos, -5);
+ GXPosition3s16(width, y_orig_pos, -5);
GXTexCoord2s8(1, 0);
GXPosition3s16(width, height, -5);
GXTexCoord2s8(1, 1);