mii_manager: Fix incorrect loop condition in mii UUID generation code

This commit is contained in:
Zach Hilman 2019-04-25 08:57:17 -04:00
parent 851c01c45e
commit 4e462d1fd7
3 changed files with 3 additions and 2 deletions

View file

@ -403,7 +403,7 @@ MiiStoreData MiiManager::CreateMiiWithUniqueUUID() const {
do {
new_mii.uuid = Common::UUID::Generate();
} while (IndexOf(new_mii.uuid) == INVALID_INDEX);
} while (IndexOf(new_mii.uuid) != INVALID_INDEX);
return new_mii;
}