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
af728db149
commit
7c5ab476da
|
@ -136,7 +136,7 @@ void RomImageWidget::parseProperties(const FSNode& node, bool full)
|
||||||
}
|
}
|
||||||
else
|
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
|
// Try to find all snapshots by property and ROM file name
|
||||||
myImageList.clear();
|
myImageList.clear();
|
||||||
|
|
Loading…
Reference in New Issue