mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
[Hotkey] Added custom textures toggle
This commit is contained in:
parent
f1964f90d6
commit
9e40fa2657
@ -50,6 +50,7 @@ const std::string hotkey_labels[] = {
|
||||
_trans("Toggle EFB Copies"),
|
||||
_trans("Toggle Fog"),
|
||||
_trans("Disable Emulation Speed Limit"),
|
||||
_trans("Toggle Custom Textures"),
|
||||
_trans("Decrease Emulation Speed"),
|
||||
_trans("Increase Emulation Speed"),
|
||||
|
||||
|
@ -49,6 +49,7 @@ enum Hotkey
|
||||
HK_TOGGLE_EFBCOPIES,
|
||||
HK_TOGGLE_FOG,
|
||||
HK_TOGGLE_THROTTLE,
|
||||
HK_TOGGLE_TEXTURES,
|
||||
|
||||
HK_DECREASE_EMULATION_SPEED,
|
||||
HK_INCREASE_EMULATION_SPEED,
|
||||
|
@ -1497,6 +1497,8 @@ void CFrame::ParseHotkeys()
|
||||
OSDChoice = 4;
|
||||
g_Config.bDisableFog = !g_Config.bDisableFog;
|
||||
}
|
||||
if (IsHotkey(HK_TOGGLE_TEXTURES))
|
||||
g_Config.bHiresTextures = !g_Config.bHiresTextures;
|
||||
Core::SetIsThrottlerTempDisabled(IsHotkey(HK_TOGGLE_THROTTLE, true));
|
||||
if (IsHotkey(HK_DECREASE_EMULATION_SPEED))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user