From 3d384808bd6972864c182c239b63cfcb904d43aa Mon Sep 17 00:00:00 2001 From: zilmar Date: Wed, 10 Feb 2016 17:50:24 +1100 Subject: [PATCH] [Glide64] Remove SDL from TexCache.cpp --- Source/Glide64/TexCache.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Source/Glide64/TexCache.cpp b/Source/Glide64/TexCache.cpp index 2550f42e3..6d4533794 100644 --- a/Source/Glide64/TexCache.cpp +++ b/Source/Glide64/TexCache.cpp @@ -36,15 +36,12 @@ // * Do NOT send me the whole project or file that you modified. Take out your modified code sections, and tell me where to put them. If people sent the whole thing, I would have many different versions, but no idea how to combine them all. // //**************************************************************** - -#ifndef _WIN32 -#include -#endif #include "Gfx_1.3.h" #include "TexCache.h" #include "Combine.h" #include "Util.h" +#include void LoadTex(int id, int tmu); @@ -546,11 +543,7 @@ void TexCache() else { DisplayLoadProgress(L"Texture dump - OFF\n"); } -#if defined(_WIN32) - Sleep(1000); -#else - SDL_Delay(1000); -#endif + pjutil::Sleep(1000); } } #endif