mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
If there is no "browser_lastpath" setting, create a FilesystemNode to "."
instead of a completely blank one. This should fix the failed assertion when trying to add a new game that was reported on the forum. svn-id: r22426
This commit is contained in:
parent
a5b4fb7f18
commit
d6e39db09d
@ -160,7 +160,7 @@ void BrowserDialog::open() {
|
||||
if (ConfMan.hasKey("browser_lastpath"))
|
||||
_node = FilesystemNode(ConfMan.get("browser_lastpath"));
|
||||
if (!_node.isDirectory())
|
||||
_node = FilesystemNode();
|
||||
_node = FilesystemNode(".");
|
||||
|
||||
// Alway refresh file list
|
||||
updateListing();
|
||||
|
Loading…
x
Reference in New Issue
Block a user