From 67be2c7232031ee20c167863aba6a4a4fca648e1 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 26 Jan 2025 13:46:02 +0100 Subject: [PATCH] Fix default button combo in Readme --- README.md | 2 +- src/function_patcher.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96de2d8..00eefa4 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Via the plugin config menu (press L, DPAD Down and Minus on the GamePad, Pro Con - **Button combos** - Enable swap screen button combo: (Default is true) - Determines if the screen can be swapped with a button combo. - - Swap screen: (Default is the **"TV" button + DPAD left**) + - Swap screen: (Default is the **"TV" button + DPAD right**) - Button combo to swap the TV and GamePad screen. - Enable swap change button combo: (Default is false) - Determines if the screen can be changed with a button combo. diff --git a/src/function_patcher.cpp b/src/function_patcher.cpp index b66d931..e978216 100644 --- a/src/function_patcher.cpp +++ b/src/function_patcher.cpp @@ -223,7 +223,7 @@ DECL_FUNCTION(void, AXUpdateDeviceModes2) { } DECL_FUNCTION(uint32_t, AVMGetTVAudioMode, uint32_t *mode) { - auto res = real_AVMGetTVAudioMode(mode); + const auto res = real_AVMGetTVAudioMode(mode); if (!gEnabled) { return res; }