mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 13:01:18 +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
|
@ -78,7 +78,7 @@ void PPCRecompiler_enter(PPCInterpreter_t* hCPU, PPCREC_JUMP_ENTRY funcPtr)
|
|||
PPCRecompiler_enterRecompilerCode((uint64)funcPtr, (uint64)hCPU);
|
||||
_controlfp(prevState, _MCW_RC);
|
||||
// debug recompiler exit - useful to find frequently executed functions which couldn't be recompiled
|
||||
#ifndef PUBLIC_RELEASE
|
||||
#ifdef CEMU_DEBUG_ASSERT
|
||||
if (hCPU->remainingCycles > 0 && GetAsyncKeyState(VK_F4))
|
||||
{
|
||||
auto t = std::chrono::high_resolution_clock::now();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue