memcpy on PcsxConfig made pcsx2 crash upon exiting, when the string members were deallocated, I guess they were added later.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1601 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2009-08-03 11:05:24 +00:00
parent 3435ca8b74
commit a41f80cfca
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ void WinRun()
// Load the command line overrides for plugins.
// Back up the user's preferences in winConfig.
memcpy( &winConfig, &Config, sizeof( PcsxConfig ) );
winConfig = Config; // don't use memcpy
_doPluginOverride( "GS", g_Startup.gsdll, Config.Plugins.GS );
_doPluginOverride( "CDVD", g_Startup.cdvddll, Config.Plugins.CDVD );