Merge pull request #9185 from Losuc/skipEFBaccessHotkey

Add a Skip EFB Access Hotkey
This commit is contained in:
Léo Lam
2020-11-19 17:28:45 +01:00
committed by GitHub
3 changed files with 12 additions and 1 deletions

View File

@ -391,6 +391,15 @@ void HotkeyScheduler::Run()
break;
}
}
if (IsHotkey(HK_TOGGLE_SKIP_EFB_ACCESS))
{
const bool new_value = !Config::Get(Config::GFX_HACK_EFB_ACCESS_ENABLE);
Config::SetCurrent(Config::GFX_HACK_EFB_ACCESS_ENABLE, new_value);
OSD::AddMessage(
StringFromFormat("%s EFB Access from CPU", new_value ? "Skip" : "Don't skip"));
}
if (IsHotkey(HK_TOGGLE_EFBCOPIES))
{
const bool new_value = !Config::Get(Config::GFX_HACK_SKIP_EFB_COPY_TO_RAM);