mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-16 04:36:59 +00:00
Remove PUBLIC_RELEASE flag and tie asserts to debug config (#287)
Removes the -DPUBLIC_RELEASE flag. Cemu's debug asserts are now only enabled if the build configuration is Debug. Similarly, on Windows the console is only shown for Debug builds.
This commit is contained in:
parent
b720d17a97
commit
3bceb39966
68 changed files with 154 additions and 186 deletions
|
|
@ -361,7 +361,7 @@ inline void cemu_assert(bool _condition)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef PUBLIC_RELEASE
|
||||
#ifndef CEMU_DEBUG_ASSERT
|
||||
//#define cemu_assert_debug(__cond) -> Forcing __cond not to be evaluated currently has unexpected side-effects
|
||||
|
||||
inline void cemu_assert_debug(bool _condition)
|
||||
|
|
|
|||
|
|
@ -7,10 +7,8 @@
|
|||
// the minor version is used for experimental builds to indicate the build index. Set by command line option from CI build script
|
||||
// if zero, the version text will be constructed as LEAD.MAJOR, otherwise as LEAD.MAJOR-MINOR
|
||||
|
||||
#if !defined(PUBLIC_RELEASE)
|
||||
#define EMULATOR_VERSION_SUFFIX " (dev)"
|
||||
#elif defined(EMULATOR_VERSION_MINOR) && EMULATOR_VERSION_MINOR == 0
|
||||
#define EMULATOR_VERSION_SUFFIX "" // stable
|
||||
#if defined(EMULATOR_VERSION_MINOR) && EMULATOR_VERSION_MINOR == 0
|
||||
#define EMULATOR_VERSION_SUFFIX ""
|
||||
#else
|
||||
#define EMULATOR_VERSION_SUFFIX " (experimental)"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue