From: Toni Wilen Date: Wed, 21 Oct 2015 17:24:06 +0000 (+0300) Subject: Ignore picassoivromfile if it does not point to a file. X-Git-Tag: 3200~21 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=4d8d8e896e7d68e52d65d1b8be479a7a79735e29;p=francis%2Fwinuae.git Ignore picassoivromfile if it does not point to a file. --- diff --git a/gfxboard.cpp b/gfxboard.cpp index 4407460d..63bf6cd8 100644 --- a/gfxboard.cpp +++ b/gfxboard.cpp @@ -2229,7 +2229,7 @@ addrbank *gfxboard_init_memory (int devnum) p4rom = read_device_rom(&currprefs, ROMTYPE_PICASSOIV, 0, roms); - if (!p4rom && currprefs.picassoivromfile[0]) + if (!p4rom && currprefs.picassoivromfile[0] && zfile_exists(currprefs.picassoivromfile)) p4rom = read_rom_name(currprefs.picassoivromfile); if (!p4rom && rl)