From d5d434133c1bd120c0e4e04c3944224dd2a259cb Mon Sep 17 00:00:00 2001 From: yabause Date: Sun, 19 Oct 2008 09:19:23 +0000 Subject: [PATCH] Patch 2176985 by riccardom to fix compilation when gdb stub is enabled. --- desmume/src/armcpu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desmume/src/armcpu.cpp b/desmume/src/armcpu.cpp index 2053901f8..c6f8f9199 100644 --- a/desmume/src/armcpu.cpp +++ b/desmume/src/armcpu.cpp @@ -367,6 +367,9 @@ static u32 armcpu_prefetch() { armcpu_t* armcpu = &ARMPROC; +#ifdef GDB_STUB + u32 temp_instruction; +#endif if(armcpu->CPSR.bits.T == 0) {