summaryrefslogtreecommitdiff
path: root/src/d/d_error_msg.cpp
diff options
context:
space:
mode:
authorCaroline Madsen <69010899+randomsalience@users.noreply.github.com>2025-04-01 22:05:30 -0400
committerGitHub <noreply@github.com>2025-04-01 19:05:30 -0700
commite55c504f28caf0815a0bf7ba31c4014dd8d3d849 (patch)
tree83510f9cd7889fa10bbdb5d522093c6977a99036 /src/d/d_error_msg.cpp
parent9847b2a2787b0db8ce931552fa6d99da21ad0873 (diff)
d_camera work (#2369)
* bumpCheck matching * checkGroundInfo matching * chaseCamera matching * lockonCamera attempted * talktoCamera matching * subjectCamera, magneCamera matching * colosseumCamera close, plus various fixes * towerCamera attempted * hookshotCamera matching
Diffstat (limited to 'src/d/d_error_msg.cpp')
-rw-r--r--src/d/d_error_msg.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/d/d_error_msg.cpp b/src/d/d_error_msg.cpp
index 6fb13694b9..c14db920f6 100644
--- a/src/d/d_error_msg.cpp
+++ b/src/d/d_error_msg.cpp
@@ -177,7 +177,6 @@ u8 dDvdErrorMsg_c::execute() {
static u8 l_captureAlpha = 0xFF;
/* 8009D410-8009D790 097D50 0380+00 1/1 0/0 0/0 .text drawCapture__FUc */
-// NONMATCHING - stack too small
static void drawCapture(u8 alpha) {
static bool l_texCopied = false;
@@ -188,7 +187,7 @@ static void drawCapture(u8 alpha) {
l_texCopied = true;
}
- JFWDisplay::getManager()->setClearColor(g_clearColor);
+ mDoGph_gInf_c::setClearColor(g_clearColor);
mDoGph_gInf_c::beginRender();
GXSetAlphaUpdate(GX_FALSE);
j3dSys.drawInit();
@@ -218,7 +217,7 @@ static void drawCapture(u8 alpha) {
GXSetCullMode(GX_CULL_NONE);
GXSetDither(GX_ENABLE);
- Mtx m;
+ Mtx44 m;
C_MTXOrtho(m, 0.0f, 1.0f, 0.0f, 1.0f, 0.0f, 10.0f);
GXLoadPosMtxImm(g_mDoMtx_identity, GX_PNMTX0);
GXSetProjection(m, GX_ORTHOGRAPHIC);