mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Add a Skip EFB Access from CPU Hotkey
This commit is contained in:
parent
64f7a4448b
commit
407ef8b596
3 changed files with 12 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue