diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-08-09 11:03:58 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-08-09 11:03:58 +0000 |
| commit | 6003c9ecd2b624a2ef78a7ae14918eb275a118f5 (patch) | |
| tree | a7155369aa31623c0067617b7e3886145a3cb0c6 /Source/Core/VideoCommon/Src/Fifo.cpp | |
| parent | 95b39da7cad68e1bd1a9c8be713ab1df7988f3d0 (diff) | |
Frameskipping more aggressive (minor speedup, plz report any serious problems). Initial display list cache implementation, disabled for now. Various cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3952 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/Fifo.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp index 9be1bd2288..6dcc6181f1 100644 --- a/Source/Core/VideoCommon/Src/Fifo.cpp +++ b/Source/Core/VideoCommon/Src/Fifo.cpp @@ -97,7 +97,8 @@ void Fifo_ExitLoop() // May be executed from any thread, even the graphics thread. // Created to allow for self shutdown. -void Fifo_ExitLoopNonBlocking() { +void Fifo_ExitLoopNonBlocking() +{ fifoStateRun = false; } @@ -118,7 +119,7 @@ void Fifo_SendFifoData(u8* _uData, u32 len) // Copy new video instructions to videoBuffer for future use in rendering the new picture memcpy(videoBuffer + size, _uData, len); size += len; - OpcodeDecoder_Run(); + OpcodeDecoder_Run(g_bSkipCurrentFrame); } // Description: Main FIFO update loop @@ -146,7 +147,7 @@ void Fifo_EnterLoop(const SVideoInitialize &video_initialize) while (_fifo.bFF_GPReadEnable && _fifo.CPReadWriteDistance) { - if(!fifoStateRun) + if (!fifoStateRun) break; // Create pointer to video data and send it to the VideoPlugin |
