From e719dae71d52983edb311fa29fb88a01220547ec Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 31 Oct 2009 09:40:55 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@34278 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfinput/pad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/dfinput') diff --git a/plugins/dfinput/pad.c b/plugins/dfinput/pad.c index 77b72994..e6ced19a 100644 --- a/plugins/dfinput/pad.c +++ b/plugins/dfinput/pad.c @@ -50,8 +50,8 @@ long PADshutdown(void) { return PSE_PAD_ERR_SUCCESS; } -static pthread_t ThreadID; -static uint8_t TerminateThread = 0; +static pthread_t ThreadID; +static volatile uint8_t TerminateThread = 0; static void *JoyThread(void *param) { while (!TerminateThread) { -- cgit v1.2.3