diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-09 10:43:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-09 10:43:57 +0100 |
commit | a5cd925a9566553f80212420cb46650fe0992ec2 (patch) | |
tree | 2f0791d4caf81d213a9f8f0c0be080db895f2a7a /src/core/hle | |
parent | Merge pull request #2202 from j-selby/man-docs (diff) | |
parent | ptm: Use boolean instead of integral value (diff) | |
download | yuzu-a5cd925a9566553f80212420cb46650fe0992ec2.tar yuzu-a5cd925a9566553f80212420cb46650fe0992ec2.tar.gz yuzu-a5cd925a9566553f80212420cb46650fe0992ec2.tar.bz2 yuzu-a5cd925a9566553f80212420cb46650fe0992ec2.tar.lz yuzu-a5cd925a9566553f80212420cb46650fe0992ec2.tar.xz yuzu-a5cd925a9566553f80212420cb46650fe0992ec2.tar.zst yuzu-a5cd925a9566553f80212420cb46650fe0992ec2.zip |
Diffstat (limited to 'src/core/hle')
-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 4d374ba17..8ff808fd9 100644 --- a/src/core/hle/service/ptm/ptm.cpp +++ b/src/core/hle/service/ptm/ptm.cpp @@ -142,7 +142,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(); } |