summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-09 10:43:57 +0100
committerGitHub <noreply@github.com>2016-12-09 10:43:57 +0100
commita5cd925a9566553f80212420cb46650fe0992ec2 (patch)
tree2f0791d4caf81d213a9f8f0c0be080db895f2a7a
parentMerge pull request #2202 from j-selby/man-docs (diff)
parentptm: Use boolean instead of integral value (diff)
downloadyuzu-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
-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 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();
}