From ea9829946d90b09113f599ad93b8466ebaeb1b3d Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 6 Dec 2020 15:47:00 +1000 Subject: [PATCH] Cheats: Implement D4/D5/D6 code types --- src/core/analog_controller.cpp | 6 +++ src/core/analog_controller.h | 1 + src/core/analog_joystick.cpp | 5 +++ src/core/analog_joystick.h | 1 + src/core/cheats.cpp | 76 +++++++++++++++++++++++++++++++-- src/core/cheats.h | 3 ++ src/core/controller.cpp | 5 +++ src/core/controller.h | 3 ++ src/core/digital_controller.cpp | 5 +++ src/core/digital_controller.h | 1 + 10 files changed, 103 insertions(+), 3 deletions(-) diff --git a/src/core/analog_controller.cpp b/src/core/analog_controller.cpp index 3cfb8b8d8..15b1ddbc8 100644 --- a/src/core/analog_controller.cpp +++ b/src/core/analog_controller.cpp @@ -127,6 +127,12 @@ void AnalogController::SetButtonState(s32 button_code, bool pressed) SetButtonState(static_cast