diff options
| author | 2009-08-30 05:42:33 +0000 | |
|---|---|---|
| committer | 2009-08-30 05:42:33 +0000 | |
| commit | 4a80c53a8d5e34cea84cd1f8a0061600a548e354 (patch) | |
| tree | cf276b7afe9116bba0ce78ebb421875692287b8f /src/emu/debug/debugcpu.c | |
| parent | 6953873e135a319247a2868c796057b9e98dbe99 (diff) | |
[from AtariAce]
Hi mamedev,
This patch continues deglobalifying the MAME core, this time targeting
sound.c. The first two patches adds running_machine to apis in
sound.h that lack it (the first patch is generated by the perl script,
the second patch fixes some cases it didn't handle well). The last
patch then removes the globals in the traditional way.
~aa
Diffstat (limited to 'src/emu/debug/debugcpu.c')
| -rw-r--r-- | src/emu/debug/debugcpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.c b/src/emu/debug/debugcpu.c index c2c7435bcb5..1d6c96cafa1 100644 --- a/src/emu/debug/debugcpu.c +++ b/src/emu/debug/debugcpu.c @@ -669,7 +669,7 @@ void debug_cpu_instruction_hook(const device_config *device, offs_t curpc) debugger_refresh_display(device->machine); /* wait for the debugger; during this time, disable sound output */ - sound_mute(TRUE); + sound_mute(device->machine, TRUE); while (global->execution_state == EXECUTION_STATE_STOPPED) { /* flush any pending updates before waiting again */ @@ -694,7 +694,7 @@ void debug_cpu_instruction_hook(const device_config *device, offs_t curpc) if (mame_is_scheduled_event_pending(device->machine)) global->execution_state = EXECUTION_STATE_RUNNING; } - sound_mute(FALSE); + sound_mute(device->machine, FALSE); /* remember the last visible CPU in the debugger */ global->visiblecpu = device; |
