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