@gaialabs/core 0.1.15 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -3780,7 +3780,7 @@ var RomGenerator = class {
|
|
|
3780
3780
|
}
|
|
3781
3781
|
async writeRom(blockLookup, entryPoints, chunkFiles, asmFiles) {
|
|
3782
3782
|
const romWriter = new RomWriter(entryPoints, "GAIALABS", "01JG ");
|
|
3783
|
-
for (const file of chunkFiles) await romWriter.writeFile(file, blockLookup);
|
|
3783
|
+
for (const file of chunkFiles.sort((a, b) => a.location - b.location)) await romWriter.writeFile(file, blockLookup);
|
|
3784
3784
|
romWriter.writeHeader();
|
|
3785
3785
|
romWriter.writeEntryPoints(asmFiles);
|
|
3786
3786
|
romWriter.writeChecksum();
|