From 471f50c7be59086214d7b4bbc47064654a70e0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 15 Jun 2026 00:15:06 +0200 Subject: [PATCH 1/3] More sprite detection Fixes #15757 Fixes #15755 --- GPU/Common/SoftwareTransformCommon.cpp | 2 +- assets/compat.ini | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/GPU/Common/SoftwareTransformCommon.cpp b/GPU/Common/SoftwareTransformCommon.cpp index 8ad95e03df..9f9289c714 100644 --- a/GPU/Common/SoftwareTransformCommon.cpp +++ b/GPU/Common/SoftwareTransformCommon.cpp @@ -81,7 +81,7 @@ static void RotateUV(TransformedVertex v[4]) { } static bool ShouldApplySpriteBorderFix(const GPUgstate &gstate) { - return gstate.isAlphaBlendEnabled() && gstate.getBlendFuncA() != GE_SRCBLEND_FIXA && gstate.isTextureAlphaUsed(); + return gstate.isMagnifyFilteringEnabled() && gstate.isAlphaBlendEnabled() && gstate.getBlendFuncA() != GE_SRCBLEND_FIXA && gstate.isTextureAlphaUsed(); } // Clears on the PSP are best done by drawing a series of vertical strips diff --git a/assets/compat.ini b/assets/compat.ini index b807c67c83..84ecb0dc34 100644 --- a/assets/compat.ini +++ b/assets/compat.ini @@ -2141,6 +2141,18 @@ UCES00422 = 0.5 UCAS40273 = 0.5 NPJH50366 = 0.5 +# Metal Slug Anthology title screen +ULES00530 = -0.5 +ULJS00090 = -0.5 +ULAS42086 = -0.5 +ULKS46129 = -0.5 +ULJS00206 = -0.5 +ULAS42161 = -0.5 +NPJH50038 = -0.5 +ULUS10154 = -0.5 + +# Metal Slug XX combat school +ULUS10495 = -0.5 # Tokiden (issue #19422) # This works in the provided dump, but needs more testing. From 308c8502177f5607b81f65b7c3011c76ff6df8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 15 Jun 2026 00:28:58 +0200 Subject: [PATCH 2/3] Add homebrew Giana's Return to compat.ini (force software renderer) Fixes #11940 --- assets/compat.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/compat.ini b/assets/compat.ini index 84ecb0dc34..2b78df6d84 100644 --- a/assets/compat.ini +++ b/assets/compat.ini @@ -1100,6 +1100,9 @@ ULES01455 = true # 2011 ULES01555 = true # 2012 ULES01582 = true # 2013 +# Giana's Return (homebrew) #11940 +GIAN00352 = true + [DarkStalkersPresentHack] # Darkstalkers ULES00016 = true From faedbd20612f135a6446e7bb800406a47542d401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 15 Jun 2026 00:39:59 +0200 Subject: [PATCH 3/3] Apply sprite border fix to Tokiden. Fixes #19422 --- assets/compat.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/compat.ini b/assets/compat.ini index 2b78df6d84..28fedcf2a2 100644 --- a/assets/compat.ini +++ b/assets/compat.ini @@ -2159,7 +2159,7 @@ ULUS10495 = -0.5 # Tokiden (issue #19422) # This works in the provided dump, but needs more testing. -# NPJH50878 = -0.4 +NPJH50878 = -0.4 [TextureCLUTInShader] # Fushigi no Dungeon 4. See #15251. This drastically reduces the amount of textures decoded by the game,