mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix indeterminism in GPU thread mode.
This commit is contained in:
@ -29,6 +29,7 @@
|
||||
#include "Core/Host.h"
|
||||
#include "Core/MemTools.h"
|
||||
#include "Core/Movie.h"
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/NetPlayProto.h"
|
||||
#include "Core/PatchEngine.h"
|
||||
#include "Core/State.h"
|
||||
@ -129,6 +130,12 @@ void SetIsFramelimiterTempDisabled(bool disable)
|
||||
std::string GetStateFileName() { return s_state_filename; }
|
||||
void SetStateFileName(const std::string& val) { s_state_filename = val; }
|
||||
|
||||
void FrameUpdateOnCPUThread()
|
||||
{
|
||||
if (NetPlay::IsNetPlayRunning())
|
||||
NetPlayClient::SendTimeBase();
|
||||
}
|
||||
|
||||
// Display messages and return values
|
||||
|
||||
// Formatted stop message
|
||||
|
Reference in New Issue
Block a user