diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-09 10:04:24 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-12-09 10:04:28 +0100 |
commit | 934b8ffcf8d09e954bcf7fbae17c7bf28de4f536 (patch) | |
tree | c587102b1fef3fa02cbdac55d362389256f19e45 /src | |
parent | Merge pull request #2282 from lioncash/svc (diff) | |
download | yuzu-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')
-rw-r--r-- | src/core/hle/service/ptm/ptm.cpp | 2 |
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(); } |