mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp
synced 2025-10-06 00:22:39 +02:00
Update RT64 to fix crash caused by offset scissors going into negative coordinate ranges
This commit is contained in:
Submodule lib/RT64-HLE updated: f35e09b110...93462c6123
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user