summaryrefslogtreecommitdiff
path: root/gui/GtkGui.c
diff options
context:
space:
mode:
authorStelios Tsampas <loathingkernel@gmail.com>2017-07-28 13:13:09 +0300
committerStelios Tsampas <loathingkernel@gmail.com>2017-07-28 13:13:09 +0300
commitb117a70fd03d780b5817c635d5c337c6ecc36d94 (patch)
treed25ec5b0d3c55f9ad4cce14b325326333d0a680d /gui/GtkGui.c
parentdb51fade6de9461e7a139da2bf5887a9a6569506 (diff)
downloadpcsxr-b117a70fd03d780b5817c635d5c337c6ecc36d94.tar.gz
* Plugin.c: Add PGXP visual debug binding (F11)
* GtkGui.c: Fix path saving in file selection dialog * LnxMain.c: Don't look for bios in data directory
Diffstat (limited to 'gui/GtkGui.c')
-rwxr-xr-xgui/GtkGui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gui/GtkGui.c b/gui/GtkGui.c
index 970be43b..0fd6b65d 100755
--- a/gui/GtkGui.c
+++ b/gui/GtkGui.c
@@ -34,6 +34,7 @@
#include "../libpcsxcore/plugins.h"
#include "../libpcsxcore/cheat.h"
+#include "../libpcsxcore/cdrom.h"
#include "MemcardDlg.h"
#include "ConfDlg.h"
@@ -775,11 +776,9 @@ static gchar *Open_Iso_Proc() {
strncpy(current_folder, filename, strrchr(filename, '/') - filename);
}
- /* If ISO path is NULL save current path. */
- if (!S_ISDIR(sb.st_mode)) {
+ /* Save current path. */
strcpy(Config.IsoImgDir, current_folder);
SaveConfig();
- }
/* free useless data */
GSList * ll = l;