summaryrefslogtreecommitdiff
path: root/games-emulation/gens/files/gens-2.12b-romsdir.patch
blob: 76b066b931cda01005a1ddaa5c8e9761b5d54ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ruN gens-rc3.5-opengl/src/gens/util/rom.c gens-rc3.5-opengl-patched/src/gens/util/rom.c
--- gens-rc3.5-opengl/src/gens/util/rom.c	2005-01-10 22:24:01.000000000 +0100
+++ gens-rc3.5-opengl-patched/src/gens/util/rom.c	2006-10-29 14:58:14.000000000 +0100
@@ -411,6 +411,9 @@
     create_file_chooser_dialog ("Open Rom", GTK_FILE_CHOOSER_ACTION_OPEN);
 //      fileselection_set_dir (fd.filesel, Rom_Dir);
   addRomsFilter (widget);
+  
+  gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget), Rom_Dir);
+  
   res = gtk_dialog_run (GTK_DIALOG (widget));
   if (res == GTK_RESPONSE_OK)
     {