diff options
| author | 2018-08-11 21:29:10 +1000 | |
|---|---|---|
| committer | 2018-08-11 21:29:10 +1000 | |
| commit | 42431d2aa6b67ea2e522fe2f4dbfc3205323cbac (patch) | |
| tree | 1475cf34577566ded397cdf5a727ddd9dd9f8280 /src | |
| parent | Added GetOpenUserCount (diff) | |
| download | yuzu-42431d2aa6b67ea2e522fe2f4dbfc3205323cbac.tar.gz yuzu-42431d2aa6b67ea2e522fe2f4dbfc3205323cbac.tar.xz yuzu-42431d2aa6b67ea2e522fe2f4dbfc3205323cbac.zip | |
fixed invalid uuid bool operator
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/acc/profile_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/profile_manager.h b/src/core/hle/service/acc/profile_manager.h index 8ec1273e4..bbb917cb5 100644 --- a/src/core/hle/service/acc/profile_manager.h +++ b/src/core/hle/service/acc/profile_manager.h | |||
| @@ -24,7 +24,7 @@ struct UUID { | |||
| 24 | uuid[1] = hi; | 24 | uuid[1] = hi; |
| 25 | }; | 25 | }; |
| 26 | explicit operator bool() const { | 26 | explicit operator bool() const { |
| 27 | return uuid[0] != INVALID_UUID[0] && uuid[1] != INVALID_UUID[1]; | 27 | return uuid[0] != INVALID_UUID[0] || uuid[1] != INVALID_UUID[1]; |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | bool operator==(const UUID& rhs) const { | 30 | bool operator==(const UUID& rhs) const { |