From 24be7785dbb22b5f79b914ad00c7f5064b650b80 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sat, 26 Oct 2019 01:00:31 +0200 Subject: [PATCH] gsdx-hw: Add Persona 3 to automatic mipmapping (basic level). Fixes flashing / strobing windows. Issue #1342 --- plugins/GSdx/GSCrc.cpp | 6 ++++++ plugins/GSdx/GSCrc.h | 1 + plugins/GSdx/Renderers/HW/GSRendererHW.cpp | 1 + 3 files changed, 8 insertions(+) diff --git a/plugins/GSdx/GSCrc.cpp b/plugins/GSdx/GSCrc.cpp index 8560684ec1..01347d55af 100644 --- a/plugins/GSdx/GSCrc.cpp +++ b/plugins/GSdx/GSCrc.cpp @@ -514,6 +514,12 @@ CRC::Game CRC::m_games[] = {0x018AC37C, LegacyOfKainDefiance, RU, 0}, // Unofficial RU-version {0x28D09BF9, NicktoonsUnite, US, 0}, {0xF25266C4, NicktoonsUnite, EU, 0}, // Nickelodeon SpongeBob SquarePants And Friends Unite + {0x7AE1C04B, Persona3, US, 0}, // Regular Version + {0x05C3D28F, Persona3, JP, 0}, + {0x8A557EE5, Persona3, EU, 0}, + {0x94A82AAA, Persona3, US, 0}, // FES + {0x232C7D72, Persona3, JP, 0}, + {0xF64A6AE5, Persona3, EU, 0}, {0x2BDA8ADB, ProjectSnowblind, US, 0}, {0xF00CA82B, ProjectSnowblind, EU, 0}, {0xF1583665, ProjectSnowblind, EU, 0}, diff --git a/plugins/GSdx/GSCrc.h b/plugins/GSdx/GSCrc.h index c36226c7e4..d721a18c97 100644 --- a/plugins/GSdx/GSCrc.h +++ b/plugins/GSdx/GSCrc.h @@ -100,6 +100,7 @@ public: Okami, Oneechanbara2Special, Onimusha3, + Persona3, PiaCarroteYoukosoGPGakuenPrincess, ProjectSnowblind, Quake3Revolution, diff --git a/plugins/GSdx/Renderers/HW/GSRendererHW.cpp b/plugins/GSdx/Renderers/HW/GSRendererHW.cpp index b2f152a42d..0b719eaa1a 100644 --- a/plugins/GSdx/Renderers/HW/GSRendererHW.cpp +++ b/plugins/GSdx/Renderers/HW/GSRendererHW.cpp @@ -214,6 +214,7 @@ void GSRendererHW::SetGameCRC(uint32 crc, int options) case CRC::Jak3: case CRC::LegacyOfKainDefiance: case CRC::NicktoonsUnite: + case CRC::Persona3: case CRC::ProjectSnowblind: case CRC::Quake3Revolution: case CRC::RatchetAndClank: