diff --git a/pcsx2/PrecompiledHeader.h b/pcsx2/PrecompiledHeader.h index b299dfb724..3156cd4058 100644 --- a/pcsx2/PrecompiledHeader.h +++ b/pcsx2/PrecompiledHeader.h @@ -158,3 +158,18 @@ static __forceinline u32 timeGetTime() # define __releaseinline __forceinline #endif +////////////////////////////////////////////////////////////////////////////////////////// +// Dev / Debug conditionals -- +// Consts for using if() statements instead of uglier #ifdef macros. + +#ifdef PCSX2_DEVBUILD +static const bool IsDevBuild = true; +#else +static const bool IsDevBuild = false; +#endif + +#ifdef _DEBUG +static const bool IsDebugBuild = true; +#else +static const bool IsDebugBuild = false; +#endif diff --git a/pcsx2/System.h b/pcsx2/System.h index 41208581f7..8447b8499f 100644 --- a/pcsx2/System.h +++ b/pcsx2/System.h @@ -210,35 +210,24 @@ using Console::Color_Cyan; using Console::Color_Yellow; using Console::Color_White; -////////////////////////////////////////////////////////////// + +////////////////////////////////////////////////////////////////////////////////////////// // Dev / Debug conditionals -- // Consts for using if() statements instead of uglier #ifdef macros. // Abbreviated macros for dev/debug only consoles and msgboxes. #ifdef PCSX2_DEVBUILD - # define DevCon Console # define DevMsg MsgBox - static const bool IsDevBuild = true; - #else - # define DevCon 0&&Console # define DevMsg - static const bool IsDevBuild = false; - #endif #ifdef _DEBUG - # define DbgCon Console - static const bool IsDebugBuild = true; - #else - # define DbgCon 0&&Console - static const bool IsDebugBuild = false; - #endif #endif /* __SYSTEM_H__ */