From b2f3caa1a405e47a569b113d7f2dbc75ab8b3c9e Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 19 Dec 2021 20:39:35 +0700 Subject: [PATCH] Revert "Shift S2DEX background texture coordinates in non-native resolutions." This reverts commit e0d5b0be7bad01c1bd24feb650f1ab8311544a72. fixes #2625 Majora's Mask misplaced blur --- src/uCodes/S2DEX.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/uCodes/S2DEX.cpp b/src/uCodes/S2DEX.cpp index 41c6f306..e5e28ae8 100644 --- a/src/uCodes/S2DEX.cpp +++ b/src/uCodes/S2DEX.cpp @@ -502,13 +502,6 @@ struct ObjCoordinates lrs = uls + (lrx - ulx) * scaleW; lrt = ult + (lry - uly) * scaleH; - if (config.frameBufferEmulation.nativeResFactor != 1u || config.video.multisampling != 0u) { - uls -= 0.5f * scaleW; - ult -= 0.5f * scaleH; - lrs -= 0.5f * scaleW; - lrt -= 0.5f * scaleH; - } - // G_CYC_COPY (BgRectCopyOnePiece()) does not allow texture filtering if (gDP.otherMode.cycleType != G_CYC_COPY) { // Correct texture coordinates if G_OBJRM_BILERP