From 006fb4e8cbd8c764da834df04f2f7949c24e25f0 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Thu, 27 Jan 2011 19:30:32 +0000 Subject: [PATCH] pcsx2 gui: really postpone appsavesettings the first time git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4269 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/gui/AppConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/gui/AppConfig.cpp b/pcsx2/gui/AppConfig.cpp index 5d5b39bf79..86fdc30cc3 100644 --- a/pcsx2/gui/AppConfig.cpp +++ b/pcsx2/gui/AppConfig.cpp @@ -1093,7 +1093,7 @@ void AppSaveSettings() if( !wxThread::IsMain() ) { - if( AtomicExchange(isPosted, true) ) + if( !AtomicExchange(isPosted, true) ) wxGetApp().PostIdleMethod( AppSaveSettings ); return;