@gaialabs/core 0.1.16 → 0.1.17

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.mjs CHANGED
@@ -859,7 +859,7 @@ var AddressingModeHandler = class {
859
859
  if (addr.isROM) {
860
860
  const wrapper = new LocationWrapper(addr.toInt(), AddressType.Offset);
861
861
  if (isJump) {
862
- const type = isIndexedIndirect ? "*Code" : "Code";
862
+ const type = isIndexedIndirect ? "&Code" : "Code";
863
863
  const name = this._blockReader.noteType(wrapper.location, type, isPush, registers);
864
864
  if (isPush) {
865
865
  operands.push(`&${name}-1`);
@@ -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.sort((a, b) => a.location - b.location)) await romWriter.writeFile(file, blockLookup);
3783
+ for (const file of chunkFiles) await romWriter.writeFile(file, blockLookup);
3784
3784
  romWriter.writeHeader();
3785
3785
  romWriter.writeEntryPoints(asmFiles);
3786
3786
  romWriter.writeChecksum();