exclude a few more codebits with FASTDEBUG=1 (nw)

This commit is contained in:
Oliver Stöneberg 2013-08-25 18:26:12 +00:00
parent 1ce67356bc
commit b8290fdeab
2 changed files with 10 additions and 1 deletions

View File

@ -45,8 +45,10 @@ void debugger_flush_all_traces_on_abnormal_exit(void);
INLINE void debugger_instruction_hook(device_t *device, offs_t curpc)
{
#ifndef MAME_DEBUG_FAST
if ((device->machine().debug_flags & DEBUG_FLAG_CALL_HOOK) != 0)
device->debug()->instruction_hook(curpc);
#endif
}

View File

@ -118,7 +118,14 @@ public:
real_profiler_state();
// getters
bool enabled() const { return m_filoptr != NULL; }
bool enabled() const
{
#ifndef MAME_DEBUG_FAST
return m_filoptr != NULL;
#else
return false;
#endif
}
const char *text(running_machine &machine);
// enable/disable