early-access version 1836

This commit is contained in:
pineappleEA
2021-07-01 04:47:14 +02:00
parent edd40a1d22
commit 9d473deb01
50 changed files with 1068 additions and 837 deletions

View File

@@ -48,7 +48,8 @@ ProfileManager::ProfileManager() {
CreateNewUser(UUID::Generate(), "yuzu");
}
auto current = std::clamp<int>(Settings::values.current_user, 0, MAX_USERS - 1);
auto current =
std::clamp<int>(static_cast<s32>(Settings::values.current_user), 0, MAX_USERS - 1);
// If user index don't exist. Load the first user and change the active user
if (!UserExistsIndex(current)) {