diff options
author | Eugene Sandulenko | 2010-05-09 20:52:20 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-05-09 20:52:20 +0000 |
commit | e02168fb68192ccca58ca862a7be552c5a0e058e (patch) | |
tree | 3a3af76ca2d3074eb164b48a708f57971966ba45 /engines | |
parent | ea964491a0e8bb9ec5b45e806c7ac77a4a064103 (diff) | |
download | scummvm-rg350-e02168fb68192ccca58ca862a7be552c5a0e058e.tar.gz scummvm-rg350-e02168fb68192ccca58ca862a7be552c5a0e058e.tar.bz2 scummvm-rg350-e02168fb68192ccca58ca862a7be552c5a0e058e.zip |
Fix bug in NES bundle reader which prevented reenterability
svn-id: r48990
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/file_nes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/file_nes.cpp b/engines/scumm/file_nes.cpp index 27840b6865..0caf63b410 100644 --- a/engines/scumm/file_nes.cpp +++ b/engines/scumm/file_nes.cpp @@ -1273,6 +1273,7 @@ bool ScummNESFile::generateIndex() { int i, j; _lfl_index lfl_index; + memset(&lfl_index, 0, sizeof(lfl_index)); for (i = 0; lfls[i].num != -1; i++) { const LFL *lfl = &lfls[i]; |