diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-09-08 13:39:55 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-09-08 13:39:55 +0000 |
| commit | 52afb9f8afbb17597461a96199941c62c6e7c634 (patch) | |
| tree | c6f7dc3e53a9c3740fde4b19a148a6d8c844ee2f | |
| parent | 2908534bd9c4b8250dce5e2b01be01362c4cef03 (diff) | |
| download | pcsxr-52afb9f8afbb17597461a96199941c62c6e7c634.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@29260 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | win32/gui/ConfigurePlugins.c | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,8 @@ +September 8, 2009 Wei Mingzhi <weimingzhi@gmail.com> + + * win32/gui/ConfigurePlugins.c: Select a real BIOS instead of the Internal + HLE BIOS by default at the first run. + September 7, 2009 Wei Mingzhi <weimingzhi@gmail.com> * plugins/dfsound/alsa.c: Removed ALSA-specific CDDA stuff, which causes diff --git a/win32/gui/ConfigurePlugins.c b/win32/gui/ConfigurePlugins.c index 1bd15202..a075c9e3 100644 --- a/win32/gui/ConfigurePlugins.c +++ b/win32/gui/ConfigurePlugins.c @@ -215,10 +215,13 @@ BOOL OnConfigurePluginsDialog(HWND hW) { sprintf(lp, "%s", (char *)FindData.cFileName);
i = ComboBox_AddString(hWC_BIOS, FindData.cFileName);
ComboBox_SetItemData(hWC_BIOS, i, lp);
- if (stricmp(Config.Bios, FindData.cFileName)==0)
+ if (Config.Bios[0]=='\0') {
+ ComboBox_SetCurSel(hWC_BIOS, i);
+ strcpy(Config.Bios, FindData.cFileName);
+ } else if (stricmp(Config.Bios, FindData.cFileName)==0)
ComboBox_SetCurSel(hWC_BIOS, i);
} while (FindNextFile(Find,&FindData));
-
+
if (Find!=INVALID_HANDLE_VALUE) FindClose(Find);
if (ComboBox_GetCurSel(hWC_CDR ) == -1)
|
