USB: Freeze mode enum for keyboardmania

This commit is contained in:
Ziemas 2021-07-19 19:03:30 +02:00 committed by lightningterror
parent 3ba2ae0275
commit 9bdf6675fc
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -150,7 +150,7 @@ namespace usb_pad
static std::list<std::string> 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<std::string> SubTypes()
{
return {};