Fix GCI file name for GMSJ0A

This commit is contained in:
sup39 2023-02-20 20:41:06 +09:00
parent 7ea259a1ee
commit 79bfdb7ff4
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
# Changelog # Changelog
## Feb 20, 2023 ## Feb 20, 2023
Put Memory Card Patch codes in GCT instead of GCI - Put Memory Card Patch codes in GCT instead of GCI
- Fix GCI file name for GMSJ0A
## Feb 13, 2023 ## Feb 13, 2023
- Added 'Mario State Savestate' - Added 'Mario State Savestate'

View file

@ -197,7 +197,7 @@ export default {
code += 'C0000000000000023C60817F81E317FC7DE478504E800020'; // return code += 'C0000000000000023C60817F81E317FC7DE478504E800020'; // return
const codeSize = code.length>>1; const codeSize = code.length>>1;
const fileName = `GCT_${version}`; const fileName = `GCT_${this.versionIdentifier}`; // GMSJ0A
const blockCount = 6; // Math.ceil(codeSize/0x2000); // TODO const blockCount = 6; // Math.ceil(codeSize/0x2000); // TODO
const headSize = 0x40; const headSize = 0x40;
const gciSize = headSize+0x2000*blockCount; const gciSize = headSize+0x2000*blockCount;