mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-16 04:09:39 +00:00
AchievementManager - Add Android to user agent
If the build is an Android build, identify it as such in the AchievementManager user agent so that android builds can be tracked separately for debug purposes.
This commit is contained in:
parent
b662cd93ce
commit
98678e9a8b
@ -49,8 +49,13 @@
|
||||
#include <shlwapi.h>
|
||||
#endif // RC_CLIENT_SUPPORTS_RAINTEGRATION
|
||||
|
||||
#ifdef ANDROID
|
||||
static const Common::HttpRequest::Headers USER_AGENT_HEADER = {
|
||||
{"User-Agent", Common::GetUserAgentStr() + " (Android)"}};
|
||||
#else // ANDROID
|
||||
static const Common::HttpRequest::Headers USER_AGENT_HEADER = {
|
||||
{"User-Agent", Common::GetUserAgentStr()}};
|
||||
#endif // ANDROID
|
||||
|
||||
AchievementManager& AchievementManager::GetInstance()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user