From 6b23a58a830244843e9808fc1425cfcbdc265d19 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Tue, 29 Jan 2019 20:47:40 -0700 Subject: [PATCH] fix crash on launch when using network shares --- source/preferences.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/preferences.cpp b/source/preferences.cpp index 1f10e00..a109ce9 100644 --- a/source/preferences.cpp +++ b/source/preferences.cpp @@ -718,7 +718,7 @@ bool LoadPrefs() sprintf(GCSettings.ArtworkFolder, "snes9xgx/artwork"); // attempt to create directories if they don't exist - if(GCSettings.LoadMethod != DEVICE_AUTO) { + if(GCSettings.LoadMethod == DEVICE_SD || GCSettings.LoadMethod == DEVICE_USB) { char dirPath[MAXPATHLEN]; sprintf(dirPath, "%s%s", pathPrefix[GCSettings.LoadMethod], GCSettings.ScreenshotsFolder); CreateDirectory(dirPath);