mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Compare timebase of netplay users to detect desyncs.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#include "Core/Core.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
#include "Core/Movie.h"
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/NetPlayProto.h"
|
||||
#include "Core/State.h"
|
||||
#include "Core/DSP/DSPCore.h"
|
||||
@ -163,6 +164,9 @@ void FrameUpdate()
|
||||
FrameSkipping();
|
||||
|
||||
s_bPolled = false;
|
||||
|
||||
if (NetPlay::IsNetPlayRunning() && SConfig::GetInstance().m_NetplayDesyncCheck)
|
||||
NetPlayClient::SendTimeBase();
|
||||
}
|
||||
|
||||
// called when game is booting up, even if no movie is active,
|
||||
|
Reference in New Issue
Block a user