Merge pull request #4495 from slashiee/dump-textures-hotkey

Add a hotkey for toggling texture dumps
This commit is contained in:
Anthony
2017-01-01 17:28:56 -08:00
committed by GitHub
3 changed files with 6 additions and 0 deletions

View File

@ -1335,6 +1335,10 @@ void CFrame::ParseHotkeys()
OSDChoice = 4;
g_Config.bDisableFog = !g_Config.bDisableFog;
}
if (IsHotkey(HK_TOGGLE_DUMPTEXTURES))
{
g_Config.bDumpTextures = !g_Config.bDumpTextures;
}
if (IsHotkey(HK_TOGGLE_TEXTURES))
g_Config.bHiresTextures = !g_Config.bHiresTextures;
Core::SetIsThrottlerTempDisabled(IsHotkey(HK_TOGGLE_THROTTLE, true));