@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.mjs
CHANGED
|
@@ -3669,7 +3669,7 @@ var RomGenerator = class {
|
|
|
3669
3669
|
}
|
|
3670
3670
|
async initialize() {
|
|
3671
3671
|
var projectData = await summaryFromSupabaseByProject(this.projectName);
|
|
3672
|
-
this.crc = projectData.
|
|
3672
|
+
this.crc = projectData.baseRomBranch.gameRomBranch.gameRom.crc;
|
|
3673
3673
|
this.branchId = projectData.id;
|
|
3674
3674
|
}
|
|
3675
3675
|
async validateAndDownload(sourceData) {
|
|
@@ -3698,7 +3698,7 @@ var RomGenerator = class {
|
|
|
3698
3698
|
for (const file of manualFiles ?? []) this.applyPatchFile(file, chunkFiles, asmFiles, patchFiles);
|
|
3699
3699
|
this.assembleCodeFromText(asmFiles);
|
|
3700
3700
|
RomProcessor.applyPatches(asmFiles, patchFiles);
|
|
3701
|
-
for (const asm of
|
|
3701
|
+
for (const asm of chunkFiles) ChunkFileUtils.calculateSize(asm);
|
|
3702
3702
|
const layout = new RomLayout(chunkFiles);
|
|
3703
3703
|
layout.organize();
|
|
3704
3704
|
for (const file of asmFiles) ChunkFileUtils.rebase(file);
|