mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
[fix] rec
can be undefined in IPS.prototype.export
This commit is contained in:
parent
dea6d46018
commit
8e2d73eb21
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ IPS.prototype.export=function(fileName){
|
|||
}
|
||||
|
||||
tempFile.writeString('EOF');
|
||||
if(rec.truncate)
|
||||
if(rec && rec.truncate)
|
||||
tempFile.writeU24(rec.truncate);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue