fix saving

save the actual new binary
This commit is contained in:
Kurt
2015-11-15 10:22:33 -08:00
parent 59107f50e7
commit 4df9757f5e

View File

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