diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-11 18:41:15 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-12 20:51:16 +0100 |
commit | 6c71858c5c698a718045ba44eda495080417a84b (patch) | |
tree | 0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/core/hle/service/cfg/cfg.cpp | |
parent | Merge pull request #1264 from bunnei/fragment-lighting-hw (diff) | |
download | yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.gz yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.bz2 yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.lz yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.xz yuzu-6c71858c5c698a718045ba44eda495080417a84b.tar.zst yuzu-6c71858c5c698a718045ba44eda495080417a84b.zip |
Diffstat (limited to 'src/core/hle/service/cfg/cfg.cpp')
-rw-r--r-- | src/core/hle/service/cfg/cfg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index 633fe19eb..7556aa6a5 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -293,8 +293,8 @@ ResultCode DeleteConfigNANDSaveFile() { ResultCode UpdateConfigNANDSavegame() { FileSys::Mode mode = {}; - mode.write_flag = 1; - mode.create_flag = 1; + mode.write_flag.Assign(1); + mode.create_flag.Assign(1); FileSys::Path path("config"); @@ -405,7 +405,7 @@ void Init() { FileSys::Path config_path("config"); FileSys::Mode open_mode = {}; - open_mode.read_flag = 1; + open_mode.read_flag.Assign(1); auto config_result = Service::FS::OpenFileFromArchive(*archive_result, config_path, open_mode); |