From 6361cd82680971090a626da1ae2a57e119c9bb0e Mon Sep 17 00:00:00 2001 From: iMineLink Date: Sat, 29 Jan 2022 00:17:53 +0100 Subject: [PATCH] GS: add TextureInsideRt flag to selected games. --- pcsx2/GS/GSCrc.cpp | 32 ++++++++++++++++++++------------ pcsx2/GS/GSCrc.h | 5 +++++ pcsx2/GS/Window/GSSetting.cpp | 2 +- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/pcsx2/GS/GSCrc.cpp b/pcsx2/GS/GSCrc.cpp index 75d0ab6cf0..f5e17969a4 100644 --- a/pcsx2/GS/GSCrc.cpp +++ b/pcsx2/GS/GSCrc.cpp @@ -243,10 +243,10 @@ const CRC::Game CRC::m_games[] = {0xC5B75C7C, Oneechanbara2Special, JP, 0}, // cutie comment {0xC725CC6C, Oneechanbara2Special, JP, 0}, {0x07608CA2, Oneechanbara2Special, EU, 0}, // Zombie Hunters 2 - {0xE0347841, XenosagaE3, JP, 0}, // cutie comment - {0xA707236E, XenosagaE3, JP, 0}, // Demo - {0xA4E88698, XenosagaE3, CH, 0}, - {0x2088950A, XenosagaE3, US, 0}, + {0xE0347841, XenosagaE3, JP, TextureInsideRt}, // cutie comment + {0xA707236E, XenosagaE3, JP, TextureInsideRt}, // Demo + {0xA4E88698, XenosagaE3, CH, TextureInsideRt}, + {0x2088950A, XenosagaE3, US, TextureInsideRt}, {0xB1995E29, ShadowofRome, EU, 0}, // cutie comment {0x958DCA28, ShadowofRome, EU, 0}, {0x57818AF6, ShadowofRome, US, 0}, @@ -315,14 +315,14 @@ const CRC::Game CRC::m_games[] = {0x812C5A96, ShinOnimusha, EU, 0}, {0xFE44479E, ShinOnimusha, US, 0}, {0xFFDE85E9, ShinOnimusha, US, 0}, - {0xE21404E2, GetaWay, US, 0}, - {0xE8249852, GetaWay, JP, 0}, - {0x458485EF, GetaWay, EU, 0}, - {0x5DFBE144, GetaWay, EU, 0}, - {0xE78971DF, GetaWayBlackMonday, US, 0}, - {0x342D97FA, GetaWayBlackMonday, US, 0}, // Demo - {0xE8C0AD1A, GetaWayBlackMonday, JP, 0}, - {0x09C3DF79, GetaWayBlackMonday, EU, 0}, + {0xE21404E2, GetaWay, US, TextureInsideRt}, + {0xE8249852, GetaWay, JP, TextureInsideRt}, + {0x458485EF, GetaWay, EU, TextureInsideRt}, + {0x5DFBE144, GetaWay, EU, TextureInsideRt}, + {0xE78971DF, GetaWayBlackMonday, US, TextureInsideRt}, + {0x342D97FA, GetaWayBlackMonday, US, TextureInsideRt}, // Demo + {0xE8C0AD1A, GetaWayBlackMonday, JP, TextureInsideRt}, + {0x09C3DF79, GetaWayBlackMonday, EU, TextureInsideRt}, {0x1130BF23, SakuraTaisen, CH, 0}, // cutie comment {0x4FAE8B83, SakuraTaisen, KO, 0}, {0xEF06DBD6, SakuraWarsSoLongMyLove, JP, 0}, // cutie comment @@ -500,6 +500,14 @@ const CRC::Game CRC::m_games[] = {0x4D22DB95, Whiplash, US, 0}, {0xE8A97250, Whiplash, EU, 0}, {0xB1BE3E51, Whiplash, EU, 0}, + {0x4C33FA2A, IndianaJonesAndTheEmperorsTomb, US, TextureInsideRt}, // TODO Add more CRCs (https://pcsx2.net/compatibility-list.html). + {0xAE0E098F, IndianaJonesAndTheEmperorsTomb, DE, TextureInsideRt}, + {0xBBC3EFFA, WildArms4, US, TextureInsideRt}, // TODO Add more CRCs (https://pcsx2.net/compatibility-list.html). + {0x36802E57, BeyondGoodAndEvil, US, TextureInsideRt}, // TODO Add more CRCs (https://pcsx2.net/compatibility-list.html). + {0x08FFF00D, SSX3, US, TextureInsideRt}, + {0xCE942B2A, SSX3, EU, TextureInsideRt}, // TODO Add more CRCs (https://pcsx2.net/compatibility-list.html). + {0x1FCC0CFB, DrivingEmotionTypeS, US, TextureInsideRt}, + {0x034836F8, DrivingEmotionTypeS, JP, TextureInsideRt}, // TODO Add more CRCs (https://pcsx2.net/compatibility-list.html). }; std::map CRC::m_map; diff --git a/pcsx2/GS/GSCrc.h b/pcsx2/GS/GSCrc.h index 6b1b526c51..a877d75204 100644 --- a/pcsx2/GS/GSCrc.h +++ b/pcsx2/GS/GSCrc.h @@ -29,6 +29,7 @@ public: ApeEscape2, ArTonelico2, Barnyard, + BeyondGoodAndEvil, BigMuthaTruckers, BrianLaraInternationalCricket, BurnoutDominator, @@ -42,6 +43,7 @@ public: DeathByDegreesTekkenNinaWilliams, DestroyAllHumans, DestroyAllHumans2, + DrivingEmotionTypeS, DuelSaviorDestiny, EvangelionJo, FFX, @@ -69,6 +71,7 @@ public: HauntingGround, ICO, IkkiTousen, + IndianaJonesAndTheEmperorsTomb, JackieChanAdv, Jak1, Jak2, @@ -120,6 +123,7 @@ public: Spartan, StarOcean3, SteambotChronicles, + SSX3, SuperManReturns, SVCChaos, TalesOfAbyss, @@ -137,6 +141,7 @@ public: UrbanReign, ValkyrieProfile2, Whiplash, + WildArms4, XenosagaE3, Yakuza, Yakuza2, diff --git a/pcsx2/GS/Window/GSSetting.cpp b/pcsx2/GS/Window/GSSetting.cpp index ba6071d2a8..0e4a0691e7 100644 --- a/pcsx2/GS/Window/GSSetting.cpp +++ b/pcsx2/GS/Window/GSSetting.cpp @@ -198,7 +198,7 @@ const char* dialog_message(int ID, bool* updateText) "Improves performance in most games, but can make a small selection slower."); case IDC_TEX_IN_RT: return cvtString("Allows the texture cache to reuse as an input texture the inner portion of a previous framebuffer.\n" - "By default this is enabled only in Jak games."); + "In some selected games this is enabled by default regardless of this setting."); default: if (updateText) *updateText = false;