mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-05 06:17:54 -05:00
mii_manager: Fix incorrect loop condition in mii UUID generation code
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user