From 9bdf6675fcd68e918140001628ae65ac68deb30c Mon Sep 17 00:00:00 2001 From: Ziemas Date: Mon, 19 Jul 2021 19:03:30 +0200 Subject: [PATCH] USB: Freeze mode enum for keyboardmania --- pcsx2/USB/usb-pad/usb-pad.cpp | 2 +- pcsx2/USB/usb-pad/usb-pad.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/USB/usb-pad/usb-pad.cpp b/pcsx2/USB/usb-pad/usb-pad.cpp index 4935f86486..e360e6d9db 100644 --- a/pcsx2/USB/usb-pad/usb-pad.cpp +++ b/pcsx2/USB/usb-pad/usb-pad.cpp @@ -838,7 +838,7 @@ namespace usb_pad return RESULT_CANCELED; } - int KeyboardmaniaDevice::Freeze(int mode, USBDevice* dev, void* data) + int KeyboardmaniaDevice::Freeze(FreezeAction mode, USBDevice* dev, void* data) { return PadDevice::Freeze(mode, dev, data); } diff --git a/pcsx2/USB/usb-pad/usb-pad.h b/pcsx2/USB/usb-pad/usb-pad.h index 6f7221eab6..3654a9bb42 100644 --- a/pcsx2/USB/usb-pad/usb-pad.h +++ b/pcsx2/USB/usb-pad/usb-pad.h @@ -150,7 +150,7 @@ namespace usb_pad static std::list ListAPIs(); static const TCHAR* LongAPIName(const std::string& name); static int Configure(int port, const std::string& api, void* data); - static int Freeze(int mode, USBDevice* dev, void* data); + static int Freeze(FreezeAction mode, USBDevice* dev, void* data); static std::vector SubTypes() { return {};