diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2016-10-08 21:41:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-08 21:41:43 +0200 |
| commit | a86b2c15d8a3064228e5b8fabf6cbea09c3837dd (patch) | |
| tree | ea24ab15bce008fed82f21fda86d4e1b97cc8f44 /Source/Core/VideoCommon/Fifo.cpp | |
| parent | 8b38d5a1155c9d91036935b2abc388aaa1822e41 (diff) | |
| parent | b427ead0cc46ae6e35568a85228f6261204a197f (diff) | |
Merge pull request #4322 from Helios747/I_hate_features
Remove Frameskip
Diffstat (limited to 'Source/Core/VideoCommon/Fifo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Fifo.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp index 4ca76cae71..d3f9703823 100644 --- a/Source/Core/VideoCommon/Fifo.cpp +++ b/Source/Core/VideoCommon/Fifo.cpp @@ -34,8 +34,6 @@ namespace Fifo static constexpr u32 FIFO_SIZE = 2 * 1024 * 1024; static constexpr int GPU_TIME_SLOT_SIZE = 1000; -static bool s_skip_current_frame = false; - static Common::BlockingLoop s_gpu_mainloop; static Common::Flag s_emu_running_state; @@ -86,7 +84,6 @@ void DoState(PointerWrap& p) s_video_buffer_seen_ptr = s_video_buffer_pp_read_ptr = s_video_buffer_read_ptr; } - p.Do(s_skip_current_frame); p.Do(s_sync_ticks); } @@ -130,16 +127,6 @@ void Shutdown() s_fifo_aux_read_ptr = nullptr; } -void SetRendering(bool enabled) -{ - s_skip_current_frame = !enabled; -} - -bool WillSkipCurrentFrame() -{ - return s_skip_current_frame; -} - // May be executed from any thread, even the graphics thread. // Created to allow for self shutdown. void ExitGpuLoop() |
