mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Use the current commit hash in the netplay version
So that it contains the current commit and not an arbitrary date that may or may not be up-to-date. This will cause tears as people will not be able to use netplay with one diverging commit that does not touch anything related. On the other hand, users can’t be trusted.
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "Common/ENetUtil.h"
|
||||
#include "Common/Timer.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
@ -19,6 +20,7 @@
|
||||
#include "Core/IPC_HLE/WII_IPC_HLE_Device_usb.h"
|
||||
#include "Core/IPC_HLE/WII_IPC_HLE_WiiMote.h"
|
||||
|
||||
static const char* NETPLAY_VERSION = scm_rev_git_str;
|
||||
static std::mutex crit_netplay_client;
|
||||
static NetPlayClient * netplay_client = nullptr;
|
||||
NetSettings g_NetPlaySettings;
|
||||
|
Reference in New Issue
Block a user