From d27e6b119c3949e90df9652f61fed611ebcf729b Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Oct 2015 17:01:48 -0400 Subject: [PATCH] Evade the SDL dependency for WIN32/WIN64 builds. --- Source/Glide64/TexCache.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/Glide64/TexCache.cpp b/Source/Glide64/TexCache.cpp index cfd9cd1e5..d98f482b3 100644 --- a/Source/Glide64/TexCache.cpp +++ b/Source/Glide64/TexCache.cpp @@ -37,8 +37,11 @@ // //**************************************************************** +#ifndef _WIN32 #include +#endif #include "Gfx_1.3.h" + #include "TexCache.h" #include "Combine.h" #include "Util.h" @@ -542,7 +545,11 @@ void TexCache () } else { DisplayLoadProgress(L"Texture dump - OFF\n"); } +#if defined(_WIN32) + Sleep(1000); +#else SDL_Delay(1000); +#endif } } #endif