Merge pull request #4495 from slashiee/dump-textures-hotkey
Add a hotkey for toggling texture dumps
This commit is contained in:
commit
b46dcc7768
|
@ -49,6 +49,7 @@ const std::string hotkey_labels[] = {
|
||||||
_trans("Toggle Aspect Ratio"),
|
_trans("Toggle Aspect Ratio"),
|
||||||
_trans("Toggle EFB Copies"),
|
_trans("Toggle EFB Copies"),
|
||||||
_trans("Toggle Fog"),
|
_trans("Toggle Fog"),
|
||||||
|
_trans("Toggle Texture Dumping"),
|
||||||
_trans("Toggle Custom Textures"),
|
_trans("Toggle Custom Textures"),
|
||||||
|
|
||||||
_trans("Increase IR"),
|
_trans("Increase IR"),
|
||||||
|
|
|
@ -51,6 +51,7 @@ enum Hotkey
|
||||||
HK_TOGGLE_AR,
|
HK_TOGGLE_AR,
|
||||||
HK_TOGGLE_EFBCOPIES,
|
HK_TOGGLE_EFBCOPIES,
|
||||||
HK_TOGGLE_FOG,
|
HK_TOGGLE_FOG,
|
||||||
|
HK_TOGGLE_DUMPTEXTURES,
|
||||||
HK_TOGGLE_TEXTURES,
|
HK_TOGGLE_TEXTURES,
|
||||||
|
|
||||||
HK_INCREASE_IR,
|
HK_INCREASE_IR,
|
||||||
|
|
|
@ -1335,6 +1335,10 @@ void CFrame::ParseHotkeys()
|
||||||
OSDChoice = 4;
|
OSDChoice = 4;
|
||||||
g_Config.bDisableFog = !g_Config.bDisableFog;
|
g_Config.bDisableFog = !g_Config.bDisableFog;
|
||||||
}
|
}
|
||||||
|
if (IsHotkey(HK_TOGGLE_DUMPTEXTURES))
|
||||||
|
{
|
||||||
|
g_Config.bDumpTextures = !g_Config.bDumpTextures;
|
||||||
|
}
|
||||||
if (IsHotkey(HK_TOGGLE_TEXTURES))
|
if (IsHotkey(HK_TOGGLE_TEXTURES))
|
||||||
g_Config.bHiresTextures = !g_Config.bHiresTextures;
|
g_Config.bHiresTextures = !g_Config.bHiresTextures;
|
||||||
Core::SetIsThrottlerTempDisabled(IsHotkey(HK_TOGGLE_THROTTLE, true));
|
Core::SetIsThrottlerTempDisabled(IsHotkey(HK_TOGGLE_THROTTLE, true));
|
||||||
|
|
Loading…
Reference in New Issue