diff options
| author | Nolan Check <Nolan.Check@gmail.com> | 2009-06-20 13:07:55 +0000 |
|---|---|---|
| committer | Nolan Check <Nolan.Check@gmail.com> | 2009-06-20 13:07:55 +0000 |
| commit | 91ec07a049d0b98d96a5aacd2655f6790da31d39 (patch) | |
| tree | a838e2814639c884fb046ab85b46fcfbcd27d775 /Source/Core/VideoCommon/Src/Fifo.cpp | |
| parent | a68abea970ddc4836a005e21e3f0ad541e786dde (diff) | |
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
Diffstat (limited to 'Source/Core/VideoCommon/Src/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/Fifo.cpp | 3 |
1 files changed, 0 insertions, 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) { |
