mirror of https://github.com/stella-emu/stella.git
Fixed segfault; reference to string was removed after it was assigned.
This commit is contained in:
parent
540d503e7f
commit
ea02ba769a
|
@ -136,7 +136,7 @@ void RomImageWidget::parseProperties(const FSNode& node, bool full)
|
|||
}
|
||||
else
|
||||
{
|
||||
const string& oldFileName = myImageList.size() ? myImageList[0].getPath() : EmptyString;
|
||||
const string oldFileName = myImageList.size() ? myImageList[0].getPath() : EmptyString;
|
||||
|
||||
// Try to find all snapshots by property and ROM file name
|
||||
myImageList.clear();
|
||||
|
|
Loading…
Reference in New Issue