Add a Skip EFB Access from CPU Hotkey

This commit is contained in:
Losucaru
2020-10-29 21:03:06 -03:00
parent 64f7a4448b
commit 407ef8b596
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);