mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-15 11:18:29 +12: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
|
@ -139,8 +139,6 @@ typedef struct tagTHREADNAME_INFO
|
|||
void SetThreadName(const char* name)
|
||||
{
|
||||
#if BOOST_OS_WINDOWS
|
||||
|
||||
#ifndef _PUBLIC_RELEASE
|
||||
THREADNAME_INFO info;
|
||||
info.dwType = 0x1000;
|
||||
info.szName = name;
|
||||
|
@ -154,9 +152,6 @@ void SetThreadName(const char* name)
|
|||
__except (EXCEPTION_EXECUTE_HANDLER) {
|
||||
}
|
||||
#pragma warning(pop)
|
||||
|
||||
#endif
|
||||
|
||||
#elif BOOST_OS_MACOS
|
||||
pthread_setname_np(name);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue