mirror of
https://github.com/holub/mame
synced 2025-05-22 21:58:57 +03:00
uiimage.c : Fix for segfault on setting of working directory (no whatsnew)
This commit is contained in:
parent
45e044d3ad
commit
4c89226959
@ -869,7 +869,7 @@ static void fix_working_directory(device_image_interface *image)
|
|||||||
|
|
||||||
/* check to see if the path exists; if not clear it */
|
/* check to see if the path exists; if not clear it */
|
||||||
if (check_path(image->working_directory()) != FILERR_NONE)
|
if (check_path(image->working_directory()) != FILERR_NONE)
|
||||||
image->set_working_directory(NULL);
|
image->set_working_directory("");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user