summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2013-09-18 12:27:50 +0200
committerPierre Bourdon <delroth@gmail.com>2013-09-18 12:33:57 +0200
commit86f6e8cc1ea0dcb6306efeffe69700ed07ed8740 (patch)
tree8c1cccd73af6f5fef68052b5000a087aa90e8d92 /Source/Core/VideoCommon/Src
parent7aa98a383020027309a371c32a775200929b73c0 (diff)
Better fix for issue 6614: ISOProperties should store integer settings for PHack booleans. INIFile is stupid, please kill it with fire.
Diffstat (limited to 'Source/Core/VideoCommon/Src')
-rw-r--r--Source/Core/VideoCommon/Src/VideoConfig.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp
index 9403af8d23..e81807985a 100644
--- a/Source/Core/VideoCommon/Src/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp
@@ -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]);