mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
fix header of NetplayClinet
This commit is contained in:
parent
8f57608692
commit
e952ac042f
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/ Copyright 2010 Dolphin Emulator Project
|
||||
// Copyright 2010 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "Core/NetPlayClient.h"
|
||||
|
|
|
@ -1264,7 +1264,7 @@ unsigned int NetPlayServer::OnData(sf::Packet& packet, Client& player)
|
|||
// executing the sync function, because one of them may be waiting for controller input while
|
||||
// another is waiting for the event timepoint sync.
|
||||
const u64 target_timepoint =
|
||||
static_cast<u64>(core_timing.GetGlobals().global_timer) + SystemTimers::GetTicksPerSecond();
|
||||
static_cast<u64>(core_timing.GetGlobals().global_timer) + Core::System::GetInstance().GetSystemTimers().GetTicksPerSecond();
|
||||
spac << sf::Uint64(target_timepoint);
|
||||
SendToClients(spac);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue