From b33d11bffbf5ee92c00b02535fa28aae54e5de87 Mon Sep 17 00:00:00 2001 From: yabause Date: Thu, 30 Nov 2006 22:35:11 +0000 Subject: [PATCH] Added "volatile" to execute in cli and gtk ports. --- desmume/src/cli/main.c | 2 +- desmume/src/gtk/desmume.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/cli/main.c b/desmume/src/cli/main.c index c2dea0902..b63baea2a 100644 --- a/desmume/src/cli/main.c +++ b/desmume/src/cli/main.c @@ -9,7 +9,7 @@ #include "../debug.h" #include "../sndsdl.h" -BOOL execute = FALSE; +volatile BOOL execute = FALSE; SDL_Surface * surface; diff --git a/desmume/src/gtk/desmume.c b/desmume/src/gtk/desmume.c index ec43b97bc..4d22fe66a 100644 --- a/desmume/src/gtk/desmume.c +++ b/desmume/src/gtk/desmume.c @@ -11,7 +11,7 @@ #include "desmume.h" -BOOL execute = FALSE; +volatile BOOL execute = FALSE; BOOL click = FALSE; BOOL fini = FALSE; unsigned long glock = 0;