1
0
Fork 0
mirror of https://github.com/marcrobledo/RomPatcher.js.git synced 2025-06-27 16:25:54 +00:00

adding command line support

This commit is contained in:
Jonathan Arndt 2023-06-29 11:29:54 -06:00
parent c87df560e9
commit faee7e6a43
18 changed files with 557 additions and 40 deletions

View file

@ -4,7 +4,9 @@
const APS_GBA_MAGIC='APS1';
const APS_GBA_BLOCK_SIZE=0x010000; //64Kb
const APS_GBA_RECORD_SIZE=4 + 2 + 2 + APS_GBA_BLOCK_SIZE;
if(typeof module !== "undefined" && module.exports){
module.exports = {APS_GBA_MAGIC, APSGBA};
}
function APSGBA(){
this.sourceSize=0;
this.targetSize=0;