Easier flag readability

This commit is contained in:
light 2023-02-23 23:08:59 -05:00
parent 0547153ecc
commit cd29f36934
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ func UpdatePreference(err error, client *nex.Client, callID uint32, showOnline b
if !showCurrentGame {
emptyPresence := nexproto.NewNintendoPresence()
emptyPresence.GameKey = nexproto.NewGameKey()
emptyPresence.ChangedFlags = 4294967295 // FF FF FF FF, All flags
emptyPresence.ChangedFlags = 0xFFFFFFFF // All flags
sendPresenceUpdateNotification(client, emptyPresence)
}
if !showOnline {

View File

@ -14,7 +14,7 @@ func UpdatePresence(err error, client *nex.Client, callID uint32, presence *nexp
if !showGame {
currentPresence = nexproto.NewNintendoPresence()
currentPresence.GameKey = nexproto.NewGameKey()
currentPresence.ChangedFlags = 4294967295 // FF FF FF FF, All flags
currentPresence.ChangedFlags = 0xFFFFFFFF // All flags
}
go sendPresenceUpdateNotification(client, currentPresence)