mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
fix truncation logic (truncate
is a property of class IPS)
This commit is contained in:
parent
8e2d73eb21
commit
2ba96ca093
1 changed files with 3 additions and 3 deletions
|
@ -63,8 +63,8 @@ IPS.prototype.export=function(fileName){
|
||||||
}
|
}
|
||||||
|
|
||||||
tempFile.writeString('EOF');
|
tempFile.writeString('EOF');
|
||||||
if(rec && rec.truncate)
|
if(this.truncate)
|
||||||
tempFile.writeU24(rec.truncate);
|
tempFile.writeU24(this.truncate);
|
||||||
|
|
||||||
|
|
||||||
return tempFile
|
return tempFile
|
||||||
|
@ -229,4 +229,4 @@ function createIPSFromFiles(original, modified){
|
||||||
|
|
||||||
|
|
||||||
return patch
|
return patch
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue