diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-01-02 22:00:00 +0100 |
commit | 4bf0ccf56eeacbeaf743f565d887c5dd8a647a41 (patch) | |
tree | db90db041fa9975f83199354fcd2dbc3ae886c9f /lib/libUPnP/patches/0031-platinum-only-apply-Xbox-specific-friendlyName-restr.patch | |
parent | c568a5905a6779d0f8dbb31c03ca554c0dc3d66a (diff) |
[libUPnP][platinum] update to 1.2.0
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.patch | 2 |
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; |