From b547f4aca10c928bf7fe6a4c519cb7981547d00e Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 12 Feb 2011 04:54:35 +0000 Subject: -peopsxgl: fixed "Use Game Fixes" in config dialog. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63285 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/peopsxgl/gpucfg/main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins') diff --git a/plugins/peopsxgl/gpucfg/main.c b/plugins/peopsxgl/gpucfg/main.c index f9dbdeef..521d02c4 100644 --- a/plugins/peopsxgl/gpucfg/main.c +++ b/plugins/peopsxgl/gpucfg/main.c @@ -665,6 +665,18 @@ int main( int argc, char **argv ) { } gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( chkScreenSmoothing ), val ); + val = 0; + if ( pB ) { + strcpy( t, "\nUseFixes" ); + p = strstr( pB, t ); + if ( p ) { + p = strstr( p, "=" ); + len = 1; + val = atoi( p + len ); + } + } + gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( chkUseGameFixes ), val ); + val = 0; if ( pB ) { strcpy( t, "\nCfgFixes" ); -- cgit v1.2.3