summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-12-09 10:04:24 +0100
committerLioncash <mathew1800@gmail.com>2016-12-09 10:04:28 +0100
commit934b8ffcf8d09e954bcf7fbae17c7bf28de4f536 (patch)
treec587102b1fef3fa02cbdac55d362389256f19e45 /src/core/hle
parentMerge pull request #2282 from lioncash/svc (diff)
downloadyuzu-934b8ffcf8d09e954bcf7fbae17c7bf28de4f536.tar
yuzu-934b8ffcf8d09e954bcf7fbae17c7bf28de4f536.tar.gz
yuzu-934b8ffcf8d09e954bcf7fbae17c7bf28de4f536.tar.bz2
yuzu-934b8ffcf8d09e954bcf7fbae17c7bf28de4f536.tar.lz
yuzu-934b8ffcf8d09e954bcf7fbae17c7bf28de4f536.tar.xz
yuzu-934b8ffcf8d09e954bcf7fbae17c7bf28de4f536.tar.zst
yuzu-934b8ffcf8d09e954bcf7fbae17c7bf28de4f536.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/ptm/ptm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp
index cc859c14c..8d1bf12cd 100644
--- a/src/core/hle/service/ptm/ptm.cpp
+++ b/src/core/hle/service/ptm/ptm.cpp
@@ -137,7 +137,7 @@ void Init() {
Service::FS::OpenFileFromArchive(*archive_result, gamecoin_path, open_mode);
if (gamecoin_result.Succeeded()) {
auto gamecoin = gamecoin_result.MoveFrom();
- gamecoin->backend->Write(0, sizeof(GameCoin), 1,
+ gamecoin->backend->Write(0, sizeof(GameCoin), true,
reinterpret_cast<const u8*>(&default_game_coin));
gamecoin->backend->Close();
}