CommonHostInterface: Add swap memory cards hotkey

This commit is contained in:
Connor McLaughlin
2021-05-18 14:36:55 +10:00
parent 2f8150f357
commit 67f352339c
6 changed files with 65 additions and 0 deletions

View File

@ -274,6 +274,9 @@ public:
/// Toggle Widescreen Hack and Aspect Ratio
void ToggleWidescreen();
/// Swaps memory cards in slot 1/2.
void SwapMemoryCards();
/// Parses a fullscreen mode into its components (width * height @ refresh hz)
static bool ParseFullscreenMode(const std::string_view& mode, u32* width, u32* height, float* refresh_rate);