configure_system: Clear selection after user delete

This commit is contained in:
Zach Hilman 2018-10-11 09:16:32 -04:00
parent 702622b8f1
commit e408bbceed
2 changed files with 18 additions and 12 deletions

View file

@ -323,7 +323,7 @@ void ProfileManager::WriteUserSaveFile() {
FileUtil::IOFile save(FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) +
"/system/save/8000000000000010/su/avators/profiles.dat",
"rb");
"wb");
save.Resize(sizeof(ProfileDataRaw));
save.Seek(0, SEEK_SET);