summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-11 15:16:32 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-24 01:31:28 +0200
commite408bbceed90da8965480e23d05fb764fcbfbb84 (patch)
treeff76fcbea6d80db3c8b0ca86e1fdd09a70f8743e /src/core
parentprofile_manager: Load user icons, names, and UUIDs from system save (diff)
downloadyuzu-e408bbceed90da8965480e23d05fb764fcbfbb84.tar
yuzu-e408bbceed90da8965480e23d05fb764fcbfbb84.tar.gz
yuzu-e408bbceed90da8965480e23d05fb764fcbfbb84.tar.bz2
yuzu-e408bbceed90da8965480e23d05fb764fcbfbb84.tar.lz
yuzu-e408bbceed90da8965480e23d05fb764fcbfbb84.tar.xz
yuzu-e408bbceed90da8965480e23d05fb764fcbfbb84.tar.zst
yuzu-e408bbceed90da8965480e23d05fb764fcbfbb84.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/acc/profile_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cpp
index b0ea06b48..43743d39e 100644
--- a/src/core/hle/service/acc/profile_manager.cpp
+++ b/src/core/hle/service/acc/profile_manager.cpp
@@ -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);