aboutsummaryrefslogtreecommitdiff
path: root/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch')
-rw-r--r--lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch b/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch
index eb467c6d2a..d397ee72d9 100644
--- a/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch
+++ b/lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch
@@ -21,7 +21,7 @@ index f948dd1..32503fe 100644
- m_FriendlyName += ": " + hostname;
- } else if (m_FriendlyName.Find(":") == -1) {
- m_FriendlyName += ": 1";
-+ if (signature == PLT_DEVICE_XBOX /*|| signature == PLT_SONOS*/) {
++ if (signature == PLT_DEVICE_XBOX_360 || signature == PLT_DEVICE_XBOX_ONE /*|| signature == PLT_SONOS*/) {
+ // XBox needs to see something behind a ':' to even show it
+ if (m_AddHostname && hostname.GetLength() > 0) {
+ m_FriendlyName += ": " + hostname;