From 4ab7d785747a42ab5a15ad999622688b3b6afeb0 Mon Sep 17 00:00:00 2001 From: jackun Date: Thu, 24 Dec 2020 03:56:52 +0200 Subject: [PATCH] USB: Fix Seamic "failing" to load Singstar api --- pcsx2/USB/usb-mic/usb-mic-singstar.cpp | 2 +- pcsx2/USB/usb-pad/usb-seamic.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/USB/usb-mic/usb-mic-singstar.cpp b/pcsx2/USB/usb-mic/usb-mic-singstar.cpp index c2e9c61d6c..afb69a8473 100644 --- a/pcsx2/USB/usb-mic/usb-mic-singstar.cpp +++ b/pcsx2/USB/usb-mic/usb-mic-singstar.cpp @@ -692,7 +692,7 @@ namespace usb_mic else p->actual_length = ret; -#if defined(_DEBUG) && _MSC_VER > 1800 +#if 0 //defined(_DEBUG) && _MSC_VER > 1800 if (!file) { char name[1024] = {0}; diff --git a/pcsx2/USB/usb-pad/usb-seamic.cpp b/pcsx2/USB/usb-pad/usb-seamic.cpp index 10ad96bab3..4b1b5bfc1a 100644 --- a/pcsx2/USB/usb-pad/usb-seamic.cpp +++ b/pcsx2/USB/usb-pad/usb-seamic.cpp @@ -411,8 +411,8 @@ namespace usb_pad api = wstr_to_str(tmp); #else if (!LoadSetting(nullptr, port, usb_mic::SingstarDevice::TypeName(), N_DEVICE_API, api)) -#endif return nullptr; +#endif USBDevice* mic = usb_mic::SingstarDevice::CreateDevice(port, api); if (!mic)