diff options
author | Lioncash <mathew1800@gmail.com> | 2016-12-09 04:04:24 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-12-09 04:04:28 -0500 |
commit | 934b8ffcf8d09e954bcf7fbae17c7bf28de4f536 (patch) | |
tree | c587102b1fef3fa02cbdac55d362389256f19e45 /src | |
parent | 2d387d95a8f42a386ab9279e68d0d6edd1ba1aec (diff) |
ptm: Use boolean instead of integral value
The third parameter of Write is actually a bool type, not an int.
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(); } |