diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-06-29 12:48:12 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-06-29 12:48:12 +0000 |
| commit | 032f74dd1a205a3e2d032e0d0deb60eac8b42de4 (patch) | |
| tree | 362cc2b7c1b4e0a6f21466aea1671fc905bbc66f /win32 | |
| parent | bf555e061aaf87c519c402db51472a39a409841a (diff) | |
| download | pcsxr-032f74dd1a205a3e2d032e0d0deb60eac8b42de4.tar.gz | |
implemented cheat search
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23829 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/gui/WndMain.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/win32/gui/WndMain.c b/win32/gui/WndMain.c index e5654a3b..1ba3e8ce 100644 --- a/win32/gui/WndMain.c +++ b/win32/gui/WndMain.c @@ -126,13 +126,19 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine Config.PsxAuto = 1;
strcpy(Config.PluginsDir, "Plugins\\");
strcpy(Config.BiosDir, "Bios\\");
- SysMessage(_("Pcsx needs to be configured"));
- ConfPlug=1;
+
+ strcpy(Config.Mcd1, "memcards\\Mcd001.mcr");
+ strcpy(Config.Mcd2, "memcards\\Mcd002.mcr");
+
+ ConfPlug = 1;
+
ConfigurePlugins(gApp.hWnd);
- DialogBox(gApp.hInstance, MAKEINTRESOURCE(IDD_MCDCONF), gApp.hWnd, (DLGPROC)ConfigureMcdsDlgProc);
- SysMessage(_("Pcsx now will quit, restart it"));
- return 0;
+
+ if (LoadConfig() == -1) {
+ return 0;
+ }
}
+
if (Config.Lang[0] == 0) {
strcpy(Config.Lang, "English");
}
|
