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:
parent
c87df560e9
commit
faee7e6a43
18 changed files with 557 additions and 40 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue