From c9a683ca27b85ad1d2c471faa28d85eb355b8f39 Mon Sep 17 00:00:00 2001 From: Ignacio Sanchez Gines <863613+drhelius@users.noreply.github.com> Date: Fri, 5 Jan 2024 02:04:03 +0100 Subject: [PATCH] [libretro] Fix build for dingux-mips32 --- platforms/libretro/libretro.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platforms/libretro/libretro.cpp b/platforms/libretro/libretro.cpp index 5852e57..aab3d3b 100644 --- a/platforms/libretro/libretro.cpp +++ b/platforms/libretro/libretro.cpp @@ -445,16 +445,16 @@ static void update_input(void) if (mouse[0] != mousepre[0]) { if (mouse[0]) - core->KeyPressed(GC_Controllers::Controller_1, GC_Keys::Key_Left_Button); + core->KeyPressed(Controller_1, Key_Left_Button); else - core->KeyReleased(GC_Controllers::Controller_1, GC_Keys::Key_Left_Button); + core->KeyReleased(Controller_1, Key_Left_Button); } if (mouse[1] != mousepre[1]) { if (mouse[1]) - core->KeyPressed(GC_Controllers::Controller_1, GC_Keys::Key_Right_Button); + core->KeyPressed(Controller_1, Key_Right_Button); else - core->KeyReleased(GC_Controllers::Controller_1, GC_Keys::Key_Right_Button); + core->KeyReleased(Controller_1, Key_Right_Button); } } }