mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
fix: fix the glitch that cut the end of the file if it's larger than the changed file patch was originally created with
This commit is contained in:
parent
3dd109c6d9
commit
98aa4f3580
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ UPS.prototype.apply=function(romFile, validate){
|
|||
}
|
||||
|
||||
/* copy original file */
|
||||
tempFile=new MarcFile(this.sizeOutput);
|
||||
tempFile=new MarcFile(sizeOutput);
|
||||
romFile.copyToFile(tempFile, 0, this.sizeInput);
|
||||
|
||||
romFile.seek(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue