fix header of NetplayClinet

This commit is contained in:
Nayla Hanegan 2024-03-03 20:18:42 -05:00
commit e952ac042f
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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);
}