2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #2292 from lioncash/bool

ptm: Use boolean instead of integral value
This commit is contained in:
Yuri Kunde Schlesner 2016-12-09 01:43:57 -08:00 committed by GitHub
commit a5cd925a95

View file

@ -142,7 +142,7 @@ void Init() {
Service::FS::OpenFileFromArchive(*archive_result, gamecoin_path, open_mode); Service::FS::OpenFileFromArchive(*archive_result, gamecoin_path, open_mode);
if (gamecoin_result.Succeeded()) { if (gamecoin_result.Succeeded()) {
auto gamecoin = gamecoin_result.MoveFrom(); 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)); reinterpret_cast<const u8*>(&default_game_coin));
gamecoin->backend->Close(); gamecoin->backend->Close();
} }