mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-26 20:58:28 -05:00
Add screen crop feature
This commit is contained in:
@@ -397,8 +397,14 @@ void HotkeyScheduler::Run()
|
||||
}
|
||||
}
|
||||
|
||||
if (IsHotkey(HK_TOGGLE_CROP))
|
||||
Config::SetCurrent(Config::GFX_CROP, !Config::Get(Config::GFX_CROP));
|
||||
if (IsHotkey(HK_TOGGLE_CROP_TO_ASPECT_RATIO))
|
||||
{
|
||||
Config::SetCurrent(Config::GFX_CROP_TO_ASPECT_RATIO,
|
||||
!Config::Get(Config::GFX_CROP_TO_ASPECT_RATIO));
|
||||
}
|
||||
|
||||
if (IsHotkey(HK_TOGGLE_CROP_CUSTOM))
|
||||
Config::SetCurrent(Config::GFX_CROP_CUSTOM, !Config::Get(Config::GFX_CROP_CUSTOM));
|
||||
|
||||
if (IsHotkey(HK_TOGGLE_AR))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user