mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Remove Frameskip
This commit is contained in:
parent
4ba1100f31
commit
b427ead0cc
20 changed files with 83 additions and 204 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue