From b6d3c26b2baae628844f114246dabcfbf8c2f906 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 16 May 2010 04:04:31 +0000 Subject: [PATCH] auto-select #DEVELOPER if #GDB_STUB --- desmume/src/types.h | 5 +++++ desmume/src/windows/defaultconfig/userconfig.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/desmume/src/types.h b/desmume/src/types.h index d2b67197b..1e9a2db84 100644 --- a/desmume/src/types.h +++ b/desmume/src/types.h @@ -40,6 +40,11 @@ #include "config.h" #endif +//enforce a constraint: gdb stub requires developer +#if defined(GDB_STUB) && !defined(DEVELOPER) +#define DEVELOPER +#endif + //xbox needs to include this to resemble windows #ifdef _XBOX #include diff --git a/desmume/src/windows/defaultconfig/userconfig.h b/desmume/src/windows/defaultconfig/userconfig.h index ca33398d7..ede47cdc4 100644 --- a/desmume/src/windows/defaultconfig/userconfig.h +++ b/desmume/src/windows/defaultconfig/userconfig.h @@ -11,7 +11,7 @@ //#define NOSSE2 //#define DEVELOPER //enables dev+ features -//#define GDB_STUB //enables the gdb stub. for some reason this is separate from dev+ for now +//#define GDB_STUB //enables the gdb stub. for some reason this is separate from dev+ for now. requires DEVELOPER. //#define EXPERIMENTAL_WIFI_COMM //enables experimental wifi communication features which do not actually work yet //basic wifi register emulation is still enabled, to at least make it seem like the wifi is working in an empty universe