mirror of https://github.com/PCSX2/pcsx2.git
USB: Fix Seamic "failing" to load Singstar api
This commit is contained in:
parent
74336d952d
commit
4ab7d78574
|
@ -692,7 +692,7 @@ namespace usb_mic
|
||||||
else
|
else
|
||||||
p->actual_length = ret;
|
p->actual_length = ret;
|
||||||
|
|
||||||
#if defined(_DEBUG) && _MSC_VER > 1800
|
#if 0 //defined(_DEBUG) && _MSC_VER > 1800
|
||||||
if (!file)
|
if (!file)
|
||||||
{
|
{
|
||||||
char name[1024] = {0};
|
char name[1024] = {0};
|
||||||
|
|
|
@ -411,8 +411,8 @@ namespace usb_pad
|
||||||
api = wstr_to_str(tmp);
|
api = wstr_to_str(tmp);
|
||||||
#else
|
#else
|
||||||
if (!LoadSetting(nullptr, port, usb_mic::SingstarDevice::TypeName(), N_DEVICE_API, api))
|
if (!LoadSetting(nullptr, port, usb_mic::SingstarDevice::TypeName(), N_DEVICE_API, api))
|
||||||
#endif
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
#endif
|
||||||
|
|
||||||
USBDevice* mic = usb_mic::SingstarDevice::CreateDevice(port, api);
|
USBDevice* mic = usb_mic::SingstarDevice::CreateDevice(port, api);
|
||||||
if (!mic)
|
if (!mic)
|
||||||
|
|
Loading…
Reference in New Issue