From 3a40df147dc82d695ce39dce3030da121af62832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Sun, 5 Apr 2015 21:38:28 +0200 Subject: [PATCH] make DEBUG=1 PROFILER=0 actually work (nw) also removed FASTDEBUG hack made obsolete by this fix --- scripts/genie.lua | 2 +- src/emu/profiler.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 6bc36add568..9287d43cdc7 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -404,7 +404,7 @@ configuration { "Debug" } defines { "MAME_DEBUG", } - if _OPTIONS["PROFILER"] then + if _OPTIONS["PROFILER"]=="1" then defines{ "MAME_PROFILER", -- define MAME_PROFILER if we are a profiling build } diff --git a/src/emu/profiler.h b/src/emu/profiler.h index 7554b0ca3fa..ee4292f24b9 100644 --- a/src/emu/profiler.h +++ b/src/emu/profiler.h @@ -91,11 +91,7 @@ public: // getters bool enabled() const { -#ifndef MAME_DEBUG_FAST return m_filoptr != NULL; -#else - return false; -#endif } const char *text(running_machine &machine);