From 8d0076b0107f9eecb25d4a8a1cc30d1e31045efc Mon Sep 17 00:00:00 2001 From: fig02 Date: Thu, 1 Feb 2024 19:52:52 -0500 Subject: Match retail Title and Sample gamestates (#1692) * match title and sample * change to directive * no bad return --- src/code/z_view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/code') diff --git a/src/code/z_view.c b/src/code/z_view.c index 1d0736245..7ed124742 100644 --- a/src/code/z_view.c +++ b/src/code/z_view.c @@ -275,13 +275,13 @@ s32 View_StepDistortion(View* view, Mtx* projectionMtx) { /** * Apply view to POLY_OPA_DISP, POLY_XLU_DISP (and OVERLAY_DISP if ortho) */ -void View_Apply(View* view, s32 mask) { +s32 View_Apply(View* view, s32 mask) { mask = (view->flags & mask) | (mask >> 4); if (mask & VIEW_PROJECTION_ORTHO) { - View_ApplyOrtho(view); + return View_ApplyOrtho(view); } else { - View_ApplyPerspective(view); + return View_ApplyPerspective(view); } } -- cgit v1.2.3