Browse Source

fixed invalid uuid bool operator

nce_cpp
David Marcec 7 years ago
parent
commit
870c42561e
  1. 2
      src/core/hle/service/acc/profile_manager.h

2
src/core/hle/service/acc/profile_manager.h

@ -24,7 +24,7 @@ struct UUID {
uuid[1] = hi;
};
explicit operator bool() const {
return uuid[0] != INVALID_UUID[0] && uuid[1] != INVALID_UUID[1];
return uuid[0] != INVALID_UUID[0] || uuid[1] != INVALID_UUID[1];
}
bool operator==(const UUID& rhs) const {

Loading…
Cancel
Save