summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ptm/ptm.cpp
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2016-02-11 18:41:15 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2016-02-12 20:51:16 +0100
commit6c71858c5c698a718045ba44eda495080417a84b (patch)
tree0dc7778532b0e2d1c5acd0224266b8a67d961155 /src/core/hle/service/ptm/ptm.cpp
parentMerge pull request #1264 from bunnei/fragment-lighting-hw (diff)
downloadyuzu-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/ptm/ptm.cpp')
-rw-r--r--src/core/hle/service/ptm/ptm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp
index 22c1093ff..6bdee4d9e 100644
--- a/src/core/hle/service/ptm/ptm.cpp
+++ b/src/core/hle/service/ptm/ptm.cpp
@@ -110,8 +110,8 @@ void Init() {
FileSys::Path gamecoin_path("gamecoin.dat");
FileSys::Mode open_mode = {};
- open_mode.write_flag = 1;
- open_mode.create_flag = 1;
+ open_mode.write_flag.Assign(1);
+ open_mode.create_flag.Assign(1);
// Open the file and write the default gamecoin information
auto gamecoin_result = Service::FS::OpenFileFromArchive(*archive_result, gamecoin_path, open_mode);
if (gamecoin_result.Succeeded()) {