|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|