mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 07:19:44 +00:00
Merge pull request #9185 from Losuc/skipEFBaccessHotkey
Add a Skip EFB Access Hotkey
This commit is contained in:
commit
e3247b567d
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