diff options
author | 2010-02-05 01:35:52 +0000 | |
---|---|---|
committer | 2010-02-05 01:35:52 +0000 | |
commit | 88946d721a3d39294bb8798f7280bd5ba68cd350 (patch) | |
tree | d7feed6099a49d16139cb9427b57607a1a7cca73 /src/emu/mame.c | |
parent | 7b3fa34c6a7215ef45e8f3f87aab4394905d3ddd (diff) |
Added DEBUG_FLAG_OSD_ENABLED to allow coexistence of debuggers going forward.
Replaced all occurrences of OPTION_DEBUG in src/osd/* by checking machine->debug_flags
Replaced all occurrences of DEBUG_FLAG_ENABLED in src/osd/* by DEBUG_FLAG_OSD_ENABLED
For the time being, DEBUG_FLAG_OSD_ENABLED is default (set in mame.c)
Debugger: avoid clearing DEBUG_FLAG_OSD_ENABLED
Diffstat (limited to 'src/emu/mame.c')
-rw-r--r-- | src/emu/mame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/mame.c b/src/emu/mame.c index 69aa08b0790..6d679764d65 100644 --- a/src/emu/mame.c +++ b/src/emu/mame.c @@ -1317,7 +1317,7 @@ running_machine::running_machine(const game_driver *driver) /* fetch core options */ sample_rate = options_get_int(mame_options(), OPTION_SAMPLERATE); - debug_flags = options_get_bool(mame_options(), OPTION_DEBUG) ? (DEBUG_FLAG_ENABLED | DEBUG_FLAG_CALL_HOOK) : 0; + debug_flags = options_get_bool(mame_options(), OPTION_DEBUG) ? (DEBUG_FLAG_ENABLED | DEBUG_FLAG_OSD_ENABLED | DEBUG_FLAG_CALL_HOOK) : 0; } catch (std::bad_alloc &) { |