Merge pull request #8 from duckey77/upstream-pcsx2

Only enable the WildArms Hack when a know games that needs it is loaded.
This commit is contained in:
Duckey77
2022-03-02 19:50:38 -07:00
committed by GitHub
+11 -1
View File
@@ -68,6 +68,15 @@ namespace GSDump
alignas(16) static SysMtgsThread s_mtgs_thread;
PCSX2GameCore *_current;
NSDictionary<NSString *, NSNumber *> *wildArmsGames =
@{
@"SCAJ-20123" : @1, @"SCAJ-30002" : @1, @"SCPS-15023" : @1, @"SCPS-15024" : @1, @"SCPS-15091" : @1,
@"SCPS-15092" : @1, @"SCPS-15118" : @1, @"SCPS-17002" : @1, @"SCPS-19205" : @1, @"SCPS-19251" : @1,
@"SCPS-19253" : @1, @"SCPS-19313" : @1, @"SCPS-19322" : @1, @"SCPS-19323" : @1, @"SCPS-55006" : @1,
@"SCUS-97203" : @1, @"SCUS-97224" : @1, @"SLES-51307" : @1, @"SLES-54239" : @1, @"SLES-54972" : @1,
@"SLUS-20937" : @1, @"SLUS-21292" : @1, @"SLUS-21615" : @1,
};
@interface PCSX2GameCore ()
@end
@@ -262,7 +271,8 @@ static NSString *binCueFix(NSString *path)
si.SetBoolValue("EmuCore/GS", "FrameLimitEnable", true);
si.SetBoolValue("EmuCore/GS", "SyncToHostRefreshRate",false);
si.SetBoolValue("EmuCore/GS", "UserHacks", true);
si.SetBoolValue("EmuCore/GS", "UserHacks_WildHack", true);
if(wildArmsGames[self->DiscID])
si.SetBoolValue("EmuCore/GS", "UserHacks_WildHack", true);
wxModule::RegisterModules();
wxModule::InitializeModules();