@gaialabs/core 0.1.7 → 0.1.9
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -4
package/dist/index.js
CHANGED
|
@@ -3671,7 +3671,7 @@ var RomGenerator = class {
|
|
|
3671
3671
|
}
|
|
3672
3672
|
async initialize() {
|
|
3673
3673
|
var projectData = await shared.summaryFromSupabaseByProject(this.projectName);
|
|
3674
|
-
this.crc = projectData.
|
|
3674
|
+
this.crc = projectData.baseRomBranch.gameRomBranch.gameRom.crc;
|
|
3675
3675
|
this.branchId = projectData.id;
|
|
3676
3676
|
}
|
|
3677
3677
|
async validateAndDownload(sourceData) {
|
|
@@ -3700,7 +3700,7 @@ var RomGenerator = class {
|
|
|
3700
3700
|
for (const file of manualFiles ?? []) this.applyPatchFile(file, chunkFiles, asmFiles, patchFiles);
|
|
3701
3701
|
this.assembleCodeFromText(asmFiles);
|
|
3702
3702
|
RomProcessor.applyPatches(asmFiles, patchFiles);
|
|
3703
|
-
for (const asm of
|
|
3703
|
+
for (const asm of chunkFiles) shared.ChunkFileUtils.calculateSize(asm);
|
|
3704
3704
|
const layout = new RomLayout(chunkFiles);
|
|
3705
3705
|
layout.organize();
|
|
3706
3706
|
for (const file of asmFiles) shared.ChunkFileUtils.rebase(file);
|