mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 05:46:47 -05:00
fix saving
save the actual new binary
This commit is contained in:
@@ -139,7 +139,7 @@ private void setEntry()
|
||||
// if (Main.oras)
|
||||
// setUnknown();
|
||||
|
||||
// Reassemble files (don't use overall zone write for now)
|
||||
// Reassemble files
|
||||
byte[][] data = CurrentZone.Write();
|
||||
|
||||
// Debug Check (can stay, why not.)
|
||||
@@ -150,7 +150,7 @@ private void setEntry()
|
||||
System.Media.SystemSounds.Asterisk.Play();
|
||||
|
||||
// Package the files into the permanent package file.
|
||||
byte[] raw = CTR.mini.packMini(locationData, "ZO");
|
||||
byte[] raw = CTR.mini.packMini(data, "ZO");
|
||||
File.WriteAllBytes(filepaths[entry], raw);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user