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);