Match retail Title and Sample gamestates (#1692)

* match title and sample

* change to directive

* no bad return
This commit is contained in:
fig02
2024-02-01 19:52:52 -05:00
committed by GitHub
parent 9289b0211d
commit 8d0076b010
3 changed files with 9 additions and 6 deletions
+3 -3
View File
@@ -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);
}
}