mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
make DEBUG=1 PROFILER=0 actually work (nw)
also removed FASTDEBUG hack made obsolete by this fix
This commit is contained in:
parent
4113826c74
commit
3a40df147d
@ -404,7 +404,7 @@ configuration { "Debug" }
|
|||||||
defines {
|
defines {
|
||||||
"MAME_DEBUG",
|
"MAME_DEBUG",
|
||||||
}
|
}
|
||||||
if _OPTIONS["PROFILER"] then
|
if _OPTIONS["PROFILER"]=="1" then
|
||||||
defines{
|
defines{
|
||||||
"MAME_PROFILER", -- define MAME_PROFILER if we are a profiling build
|
"MAME_PROFILER", -- define MAME_PROFILER if we are a profiling build
|
||||||
}
|
}
|
||||||
|
@ -91,11 +91,7 @@ public:
|
|||||||
// getters
|
// getters
|
||||||
bool enabled() const
|
bool enabled() const
|
||||||
{
|
{
|
||||||
#ifndef MAME_DEBUG_FAST
|
|
||||||
return m_filoptr != NULL;
|
return m_filoptr != NULL;
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
const char *text(running_machine &machine);
|
const char *text(running_machine &machine);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user