From 91ec07a049d0b98d96a5aacd2655f6790da31d39 Mon Sep 17 00:00:00 2001 From: Nolan Check Date: Sat, 20 Jun 2009 13:07:55 +0000 Subject: [PATCH] Remove delay in Fifo when CP/GP distance is 0. It's a bad idea to sleep for a whole MILLISECOND when we only have about 17 milliseconds to complete a frame. This fixes slowdown in Wind Waker's Deku Tree room in dual-core mode. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3513 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/Fifo.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp index 3475f1728e..e16da797e8 100644 --- a/Source/Core/VideoCommon/Src/Fifo.cpp +++ b/Source/Core/VideoCommon/Src/Fifo.cpp @@ -139,9 +139,6 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize) video_initialize.pPeekMessages(); #endif - if (_fifo.CPReadWriteDistance == 0) - Common::SleepCurrentThread(1); - // Draw XFB if CP/GPfifo isn't used if (g_XFBUpdateRequested) {