From 032f74dd1a205a3e2d032e0d0deb60eac8b42de4 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 29 Jun 2009 12:48:12 +0000 Subject: implemented cheat search git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23829 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- win32/gui/WndMain.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'win32') 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"); } -- cgit v1.2.3