mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Better fix for issue 6614: ISOProperties should store integer settings for PHack booleans. INIFile is stupid, please kill it with fire.
This commit is contained in:
@ -202,10 +202,7 @@ void VideoConfig::GameIniLoad(const char* default_ini_file, const char* local_in
|
||||
CHECK_SETTING("Video_Hacks", "EFBCopyCacheEnable", bEFBCopyCacheEnable);
|
||||
CHECK_SETTING("Video_Hacks", "EFBEmulateFormatChanges", bEFBEmulateFormatChanges);
|
||||
|
||||
// XXX: iPhackvalue[0] aka. projection hack enabled is an integer. WTF.
|
||||
bool phack_enabled = iPhackvalue[0];
|
||||
CHECK_SETTING("Video", "ProjectionHack", phack_enabled);
|
||||
iPhackvalue[0] = phack_enabled;
|
||||
CHECK_SETTING("Video", "ProjectionHack", iPhackvalue[0]);
|
||||
CHECK_SETTING("Video", "PH_SZNear", iPhackvalue[1]);
|
||||
CHECK_SETTING("Video", "PH_SZFar", iPhackvalue[2]);
|
||||
CHECK_SETTING("Video", "PH_ExtraParam", iPhackvalue[3]);
|
||||
|
Reference in New Issue
Block a user