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 {};