Update RT64 to fix crash caused by offset scissors going into negative coordinate ranges

This commit is contained in:
Mr-Wiseguy 2023-12-17 21:25:49 -05:00
parent 0a6b8d0da3
commit b3e4ab13ca
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit f35e09b110c38517f8e57337bad17734f5f65dca
Subproject commit 93462c612300d342ac84110f4d0627386785b8bc

View File

@ -129,7 +129,7 @@ void Interface_Draw(PlayState* play) {
if (pauseCtx->debugEditor == DEBUG_EDITOR_NONE) {
Interface_SetVertices(play);
// @recomp Adjust any scissors to cover the whole screen
gEXSetScissorAlign(OVERLAY_DISP++, G_EX_ORIGIN_LEFT, G_EX_ORIGIN_RIGHT, 0, -margin_reduction, -SCREEN_WIDTH, margin_reduction);
gEXSetScissorAlign(OVERLAY_DISP++, G_EX_ORIGIN_LEFT, G_EX_ORIGIN_RIGHT, 0, -margin_reduction, -SCREEN_WIDTH, margin_reduction, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
Interface_SetOrthoView(interfaceCtx);
// Draw Grandma's Story
@ -470,7 +470,7 @@ void Interface_Draw(PlayState* play) {
// @recomp Restore normal alignment and shift down for minigame countdown or clock
gEXSetRectAlign(OVERLAY_DISP++, G_EX_ORIGIN_NONE, G_EX_ORIGIN_NONE, 0, 0, 0, 0);
gEXSetViewportAlign(OVERLAY_DISP++, G_EX_ORIGIN_NONE, 0, 0);
gEXSetScissorAlign(OVERLAY_DISP++, G_EX_ORIGIN_NONE, G_EX_ORIGIN_NONE, 0, 0, 0, 0);
gEXSetScissorAlign(OVERLAY_DISP++, G_EX_ORIGIN_NONE, G_EX_ORIGIN_NONE, 0, 0, 0, 0, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT);
Interface_SetOrthoView(interfaceCtx);
}