From fd619c9fc5a5a3f7b79cf9969dc3263e365bfeb6 Mon Sep 17 00:00:00 2001 From: shenweip <1037567878@qq.com> Date: Fri, 31 Jul 2020 19:19:51 +0800 Subject: [PATCH] BuildFix --- Core/HLE/sceUsbMic.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceUsbMic.cpp b/Core/HLE/sceUsbMic.cpp index 19607cdcc6..7c8477f25a 100644 --- a/Core/HLE/sceUsbMic.cpp +++ b/Core/HLE/sceUsbMic.cpp @@ -25,12 +25,15 @@ #include "Core/HLE/sceUsbMic.h" #include "Core/CoreTiming.h" #include "Core/MemMapHelpers.h" -#include "Windows/CaptureDevice.h" #if defined(_WIN32) && !PPSSPP_PLATFORM(UWP) && !defined(__LIBRETRO__) #define HAVE_WIN32_MICROPHONE #endif +#ifdef HAVE_WIN32_MICROPHONE +#include "Windows/CaptureDevice.h" +#endif + enum { SCE_USBMIC_ERROR_INVALID_MAX_SAMPLES = 0x80243806, SCE_USBMIC_ERROR_INVALID_SAMPLERATE = 0x8024380A,