From 033e0604e90d00d1a88fee0c131114d3eda34326 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sat, 28 Jan 2017 13:40:13 +0800 Subject: [PATCH] Build fix for non-windows --- Core/HLE/sceUmd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceUmd.cpp b/Core/HLE/sceUmd.cpp index 59fde8cffc2d..a38af72cb0e8 100644 --- a/Core/HLE/sceUmd.cpp +++ b/Core/HLE/sceUmd.cpp @@ -38,6 +38,7 @@ #include "Core/FileSystems/MetaFileSystem.h" #include "Core/FileSystems/ISOFileSystem.h" #include "Core/FileSystems/VirtualDiscFileSystem.h" +#include "base/timeutil.h" #ifdef USING_WIN_UI #include "Windows/MainWindowMenu.h" #endif @@ -504,7 +505,7 @@ void __UmdReplace(std::string filepath) { } delete currentUMD; UMD_insterted = false; - Sleep(200); // Wait sceUmdCheckMedium call + sleep_ms(200); // Wait sceUmdCheckMedium call UMD_insterted = true; // TODO Is this always correct if UMD was not activated? u32 notifyArg = PSP_UMD_PRESENT | PSP_UMD_READABLE | PSP_UMD_CHANGED;