mirror of
https://github.com/PabloMK7/citra.git
synced 2025-11-30 20:38:48 +00:00
Fix PTM ext data creation after Artic Base changes. (#111)
This commit is contained in:
parent
24c6ec5e6a
commit
71eca05af1
3 changed files with 17 additions and 8 deletions
|
|
@ -158,7 +158,8 @@ static void WriteGameCoinData(GameCoin gamecoin_data) {
|
|||
// If the archive didn't exist, create the files inside
|
||||
if (archive_result.Code() == FileSys::ResultNotFormatted) {
|
||||
// Format the archive to create the directories
|
||||
extdata_archive_factory.Format(archive_path, FileSys::ArchiveFormatInfo(), 0, 0, 0);
|
||||
extdata_archive_factory.FormatAsExtData(archive_path, FileSys::ArchiveFormatInfo(), 0, 0, 0,
|
||||
std::nullopt);
|
||||
// Open it again to get a valid archive now that the folder exists
|
||||
archive = extdata_archive_factory.Open(archive_path, 0).Unwrap();
|
||||
// Create the game coin file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue