mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
fix: EBP creation
This commit is contained in:
parent
bd43cffc10
commit
9b26668e7f
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ IPS.prototype.export=function(fileName){
|
||||||
if(this.truncate && !this.EBPmetadata)
|
if(this.truncate && !this.EBPmetadata)
|
||||||
patchFileSize+=3; //truncate
|
patchFileSize+=3; //truncate
|
||||||
else if(this.EBPmetadata)
|
else if(this.EBPmetadata)
|
||||||
patchFileSize+=JSON.stringify(this.EBPmetadata);
|
patchFileSize+=JSON.stringify(this.EBPmetadata).length;
|
||||||
|
|
||||||
tempFile=new BinFile(patchFileSize);
|
tempFile=new BinFile(patchFileSize);
|
||||||
tempFile.fileName=fileName+(this.EBPmetadata? '.ebp' : '.ips');
|
tempFile.fileName=fileName+(this.EBPmetadata? '.ebp' : '.ips');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue