1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 23:14:37 +00:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 6 deletions

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);
}
}