From 350e373e3f20caa6062067b9d96baaa8bcf090c3 Mon Sep 17 00:00:00 2001 From: Akash Date: Sun, 26 Jul 2015 12:03:13 +0530 Subject: [PATCH] gsdx-gui: Remove Aggressive CRC hack. The option is pretty much useless, CRC hack level controls the usage of hacks already. --- plugins/GSdx/GSSetting.cpp | 6 +---- plugins/GSdx/GSSetting.h | 1 - plugins/GSdx/GSdx.rc | 19 ++++++++-------- plugins/GSdx/resource.h | 45 +++++++++++++++++++------------------- 4 files changed, 32 insertions(+), 39 deletions(-) diff --git a/plugins/GSdx/GSSetting.cpp b/plugins/GSdx/GSSetting.cpp index 6c910d9b08..139b167325 100644 --- a/plugins/GSdx/GSSetting.cpp +++ b/plugins/GSdx/GSSetting.cpp @@ -79,11 +79,7 @@ const char* dialog_message(int ID, bool* updateText) { return "Multisample Anti-Aliasing\n\nEnables hardware Anti-Aliasing. Needs lots of memory." " The Z-24 modes might need to have LogarithmicZ to compensate for the bits lost (only in DX9 mode).\n\n" " MSAA is not implemented on the OpenGL renderer"; - case IDC_AGGRESSIVECRC: - return "Use more aggressive CRC hacks on some games\n\n" - "Only affects few games, removing some effects which might make the image sharper/clearer.\n" - "Affected games: FFX, FFX2, FFXII, GOW2, ICO, SoTC, SSX3, SMT3, SMTDDS1, SMTDDS2.\n" - "Works as a speedhack for: Steambot Chronicles."; + case IDC_ALPHASTENCIL: return "Extend stencil based emulation of destination alpha to perform stencil operations while drawing.\n\n" "Improves many shadows which are normally overdrawn in parts, may affect other effects.\n" diff --git a/plugins/GSdx/GSSetting.h b/plugins/GSdx/GSSetting.h index a7bda15dd4..9c858e9cb0 100644 --- a/plugins/GSdx/GSSetting.h +++ b/plugins/GSdx/GSSetting.h @@ -52,7 +52,6 @@ enum { IDC_WILDHACK, IDC_MSAACB, IDC_STATIC_MSAA, - IDC_AGGRESSIVECRC, IDC_ALPHASTENCIL, IDC_CHECK_DISABLE_ALL_HACKS, IDC_ALIGN_SPRITE, diff --git a/plugins/GSdx/GSdx.rc b/plugins/GSdx/GSdx.rc index a16584f26c..a1e558a6bd 100644 --- a/plugins/GSdx/GSdx.rc +++ b/plugins/GSdx/GSdx.rc @@ -108,16 +108,15 @@ BEGIN COMBOBOX IDC_MSAACB,35,18,54,63,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "WildArmsOffset",IDC_WILDHACK,"Button",BS_AUTO3STATE | WS_TABSTOP,14,134,64,10 LTEXT "TEXT_GOES_HERE",IDC_HACK_DESCRIPTION,102,20,199,192 - CONTROL "Aggressive-CRC",IDC_AGGRESSIVECRC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,151,66,10 - CONTROL "Alpha Stencil",IDC_ALPHASTENCIL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,168,66,10 - CONTROL "Round Sprite",IDC_ROUND_SPRITE,"Button",BS_AUTO3STATE | WS_TABSTOP,14,186,66,8 - CONTROL "Align Sprite",IDC_ALIGN_SPRITE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,201,60,10 - LTEXT "TC Offset X",IDC_STATIC_TCOFFSETX,14,234,37,8 - EDITTEXT IDC_TCOFFSETX2,53,232,35,14,ES_RIGHT | ES_AUTOHSCROLL - CONTROL "",IDC_TCOFFSETX,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,86,232,11,14 - EDITTEXT IDC_TCOFFSETY2,53,249,35,14,ES_RIGHT | ES_AUTOHSCROLL - CONTROL "",IDC_TCOFFSETY,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,86,249,11,14 - LTEXT "TC Offset Y",IDC_STATIC_TCOFFSETY,14,251,37,8 + CONTROL "Alpha Stencil",IDC_ALPHASTENCIL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,151,66,10 + CONTROL "Round Sprite",IDC_ROUND_SPRITE,"Button",BS_AUTO3STATE | WS_TABSTOP,14,168,66,8 + CONTROL "Align Sprite",IDC_ALIGN_SPRITE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,186,60,10 + LTEXT "TC Offset X",IDC_STATIC_TCOFFSETX,14,204,37,8 + EDITTEXT IDC_TCOFFSETX2,53,202,35,14,ES_RIGHT | ES_AUTOHSCROLL + CONTROL "",IDC_TCOFFSETX,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,86,202,11,14 + EDITTEXT IDC_TCOFFSETY2,53,219,35,14,ES_RIGHT | ES_AUTOHSCROLL + CONTROL "",IDC_TCOFFSETY,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,86,219,11,14 + LTEXT "TC Offset Y",IDC_STATIC_TCOFFSETY,14,221,37,8 COMBOBOX IDC_CRC_LEVEL,13,65,75,63,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "CRC Hack Level",IDC_STATIC,14,54,51,8 END diff --git a/plugins/GSdx/resource.h b/plugins/GSdx/resource.h index 31cfdbec0d..403ab6ee60 100644 --- a/plugins/GSdx/resource.h +++ b/plugins/GSdx/resource.h @@ -58,28 +58,27 @@ #define IDC_HACK_DESCRIPTION 2073 #define IDC_STATIC_MSAA 2074 #define IDC_STATIC_SKIPDRAW 2075 -#define IDC_AGGRESSIVECRC 2076 -#define IDC_CHECK_DISABLE_ALL_HACKS 2077 -#define IDC_ALPHASTENCIL 2078 -#define IDC_ADAPTER 2079 -#define IDC_STATIC_TCOFFSETX 2080 -#define IDC_STATIC_TCOFFSETY 2081 -#define IDC_TCOFFSETX 2082 -#define IDC_TCOFFSETX2 2083 -#define IDC_TCOFFSETY 2084 -#define IDC_TCOFFSETY2 2085 -#define IDC_FXAA 2086 -#define IDC_SHADER_FX 2088 -#define IDC_ANISOTROPIC 2089 -#define IDC_AFCOMBO 2090 -#define IDC_OPENCL_DEVICE 2091 -#define IDC_ACCURATE_BLEND_UNIT 2092 -#define IDC_ACCURATE_DATE 2093 -#define IDC_ROUND_SPRITE 2094 -#define IDC_ALIGN_SPRITE 2095 -#define IDC_CRC_LEVEL 2096 -#define IDC_CHECK1 2097 -#define IDC_TC_DEPTH 2098 +#define IDC_CHECK_DISABLE_ALL_HACKS 2076 +#define IDC_ALPHASTENCIL 2077 +#define IDC_ADAPTER 2078 +#define IDC_STATIC_TCOFFSETX 2079 +#define IDC_STATIC_TCOFFSETY 2080 +#define IDC_TCOFFSETX 2081 +#define IDC_TCOFFSETX2 2082 +#define IDC_TCOFFSETY 2083 +#define IDC_TCOFFSETY2 2084 +#define IDC_FXAA 2085 +#define IDC_SHADER_FX 2086 +#define IDC_ANISOTROPIC 2087 +#define IDC_AFCOMBO 2088 +#define IDC_OPENCL_DEVICE 2089 +#define IDC_ACCURATE_BLEND_UNIT 2090 +#define IDC_ACCURATE_DATE 2091 +#define IDC_ROUND_SPRITE 2092 +#define IDC_ALIGN_SPRITE 2093 +#define IDC_CRC_LEVEL 2094 +#define IDC_CHECK1 2095 +#define IDC_TC_DEPTH 2096 #define IDC_COLORSPACE 3000 #define IDR_CONVERT_FX 10000 #define IDR_TFX_FX 10001 @@ -99,7 +98,7 @@ #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 10013 #define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 2100 +#define _APS_NEXT_CONTROL_VALUE 2097 #define _APS_NEXT_SYMED_VALUE 5000 #endif #endif