Merge pull request #4136 from Helios747/custom_textures_hotkey
[Hotkey] Added custom textures toggle
This commit is contained in:
commit
8d186a468f
|
@ -50,6 +50,7 @@ const std::string hotkey_labels[] = {
|
||||||
_trans("Toggle EFB Copies"),
|
_trans("Toggle EFB Copies"),
|
||||||
_trans("Toggle Fog"),
|
_trans("Toggle Fog"),
|
||||||
_trans("Disable Emulation Speed Limit"),
|
_trans("Disable Emulation Speed Limit"),
|
||||||
|
_trans("Toggle Custom Textures"),
|
||||||
_trans("Decrease Emulation Speed"),
|
_trans("Decrease Emulation Speed"),
|
||||||
_trans("Increase Emulation Speed"),
|
_trans("Increase Emulation Speed"),
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@ enum Hotkey
|
||||||
HK_TOGGLE_EFBCOPIES,
|
HK_TOGGLE_EFBCOPIES,
|
||||||
HK_TOGGLE_FOG,
|
HK_TOGGLE_FOG,
|
||||||
HK_TOGGLE_THROTTLE,
|
HK_TOGGLE_THROTTLE,
|
||||||
|
HK_TOGGLE_TEXTURES,
|
||||||
|
|
||||||
HK_DECREASE_EMULATION_SPEED,
|
HK_DECREASE_EMULATION_SPEED,
|
||||||
HK_INCREASE_EMULATION_SPEED,
|
HK_INCREASE_EMULATION_SPEED,
|
||||||
|
|
|
@ -1497,6 +1497,8 @@ void CFrame::ParseHotkeys()
|
||||||
OSDChoice = 4;
|
OSDChoice = 4;
|
||||||
g_Config.bDisableFog = !g_Config.bDisableFog;
|
g_Config.bDisableFog = !g_Config.bDisableFog;
|
||||||
}
|
}
|
||||||
|
if (IsHotkey(HK_TOGGLE_TEXTURES))
|
||||||
|
g_Config.bHiresTextures = !g_Config.bHiresTextures;
|
||||||
Core::SetIsThrottlerTempDisabled(IsHotkey(HK_TOGGLE_THROTTLE, true));
|
Core::SetIsThrottlerTempDisabled(IsHotkey(HK_TOGGLE_THROTTLE, true));
|
||||||
if (IsHotkey(HK_DECREASE_EMULATION_SPEED))
|
if (IsHotkey(HK_DECREASE_EMULATION_SPEED))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue