diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-09-08 14:56:45 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-09-08 14:56:45 +0000 |
| commit | 1777549e90132ef18bce339efd6a000441eb6060 (patch) | |
| tree | 4fd07393a1d0f0a07f475ea1969ff3e244b8dcdb /gui/Gtk2Gui.c | |
| parent | 52afb9f8afbb17597461a96199941c62c6e7c634 (diff) | |
| download | pcsxr-1777549e90132ef18bce339efd6a000441eb6060.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@29266 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui/Gtk2Gui.c')
| -rw-r--r-- | gui/Gtk2Gui.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gui/Gtk2Gui.c b/gui/Gtk2Gui.c index 8f58bdf2..6de91ba9 100644 --- a/gui/Gtk2Gui.c +++ b/gui/Gtk2Gui.c @@ -1852,8 +1852,6 @@ void OnBiosPath_Changed(GtkWidget *wdg, gpointer data) { foldername = gtk_file_chooser_get_current_folder (GTK_FILE_CHOOSER (wdg)); strcpy(Config.BiosDir, foldername); -// printf("BIOS directory is now %s\n", foldername); - UpdatePluginsBIOS(); UpdatePluginsBIOS_UpdateGUI(data); @@ -2018,8 +2016,6 @@ void scan_bios_dir (gchar *dirname) { struct dirent *ent; gchar *filename; -// printf("Scanning bios dir %s\n", dirname); - dir = opendir(dirname); if (dir == NULL) { SysMessage(_("Could not open BIOS directory: '%s'\n"), dirname); @@ -2033,8 +2029,6 @@ void scan_bios_dir (gchar *dirname) { g_free(filename); } closedir(dir); - -// printf("Finished scanning bios dir %s\n", dirname); } void UpdatePluginsBIOS() { @@ -2115,10 +2109,10 @@ void UpdatePluginsBIOS() { } closedir(dir); + scan_bios_dir(Config.BiosDir); + /* The BIOS list always contains the PCSX internal BIOS */ add_bios_to_list(_("Internal HLE Bios"), "HLE"); - - scan_bios_dir(Config.BiosDir); } void UpdatePluginsBIOS_UpdateGUI(GladeXML *xml) { |
