mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-11 02:29:00 +00:00
fix stutter. need cleanup
This commit is contained in:
parent
e7b9a20805
commit
e842065405
5 changed files with 50 additions and 16 deletions
|
@ -264,6 +264,9 @@ void VideoBackendBase::PopulateBackendInfoFromUI()
|
|||
|
||||
void VideoBackendBase::DoState(PointerWrap& p)
|
||||
{
|
||||
#ifdef IS_PLAYBACK
|
||||
VideoCommon_DoState(p);
|
||||
#else
|
||||
if (!SConfig::GetInstance().bCPUThread)
|
||||
{
|
||||
VideoCommon_DoState(p);
|
||||
|
@ -278,6 +281,7 @@ void VideoBackendBase::DoState(PointerWrap& p)
|
|||
// Let the GPU thread sleep after loading the state, so we're not spinning if paused after loading
|
||||
// a state. The next GP burst will wake it up again.
|
||||
Fifo::GpuMaySleep();
|
||||
#endif
|
||||
}
|
||||
|
||||
void VideoBackendBase::InitializeShared()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue