From 4c89226959edaf18e23c96beedd6cecfc2d3ae07 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 28 Jul 2010 10:26:02 +0000 Subject: [PATCH] uiimage.c : Fix for segfault on setting of working directory (no whatsnew) --- src/emu/uiimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/uiimage.c b/src/emu/uiimage.c index 65be909daad..ded825ffced 100644 --- a/src/emu/uiimage.c +++ b/src/emu/uiimage.c @@ -869,7 +869,7 @@ static void fix_working_directory(device_image_interface *image) /* check to see if the path exists; if not clear it */ if (check_path(image->working_directory()) != FILERR_NONE) - image->set_working_directory(NULL); + image->set_working_directory(""); }