mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
NetPlayServer: Make g_initial_netplay_rtc a member variable of NetPlayClient
Behaviorally, this belongs within the netplay client. The server will always transmit a known RTC value, so it doesn't even need a global for this. Given the client receives the packet containing said RTC value, we can store it as a member variable and provide an accessor for reading that value. This removes another global variable within the netplay code.
This commit is contained in:
@ -94,8 +94,6 @@ struct NetTraversalConfig
|
||||
u16 traversal_port = 0;
|
||||
};
|
||||
|
||||
extern u64 g_netplay_initial_rtc;
|
||||
|
||||
struct Rpt : public std::vector<u8>
|
||||
{
|
||||
u16 channel;
|
||||
|
Reference in New Issue
Block a user