From 10f2121ed4bca97c099eeb39053251ae2e04d7df Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Tue, 11 Nov 2008 10:00:53 +0000 Subject: [PATCH] Fixed the previous fix! git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@313 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/windows/ConfigDlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/windows/ConfigDlg.c b/pcsx2/windows/ConfigDlg.c index 0049173b53..1eca33662d 100644 --- a/pcsx2/windows/ConfigDlg.c +++ b/pcsx2/windows/ConfigDlg.c @@ -241,7 +241,7 @@ void OnOK(HWND hW) { SaveConfig(); // Apply winConfig settings: - #define ApplyPluginPath( name ) memcpy(Config.name, winConfig.name, g_MaxPath ) + #define ApplyPluginPath( name ) strcpy( Config.name, winConfig.name ) ApplyPluginPath( Bios ); ApplyPluginPath( GS ); ApplyPluginPath( PAD1 ); @@ -427,7 +427,7 @@ void SetBiosDir(HWND hW) { char Path[g_MaxPath]; if (SelectPath(hW, _("Select Bios Directory"), Path) == -1) return; - strcpy(winConfig.BiosDir, Path); + strcpy(Config.BiosDir, Path); CleanUpCombos(hW); OnConfigureDialog(hW); }