From d7d7aafcb3a43c59b5d66832f981b61cbd41e2fc Mon Sep 17 00:00:00 2001 From: Jonathan Gevaryahu Date: Sun, 14 Aug 2011 08:11:01 +0000 Subject: [PATCH] Fix sound in Sega Model 2a/2b/2c. [trap15, R. Belmont] --- src/emu/sound/scsp.c | 2 +- src/mame/drivers/model2.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emu/sound/scsp.c b/src/emu/sound/scsp.c index 8ae615a6ea2..ad0ffbb52e7 100644 --- a/src/emu/sound/scsp.c +++ b/src/emu/sound/scsp.c @@ -844,7 +844,7 @@ static void SCSP_UpdateRegR(scsp_state *scsp, int reg) v&=0xff00; v|=scsp->MidiStack[scsp->MidiR]; scsp->Int68kCB(scsp->device, -scsp->IrqMidi); // cancel the IRQ - printf("Read %x from SCSP MIDI\n", v); + logerror("Read %x from SCSP MIDI\n", v); if(scsp->MidiR!=scsp->MidiW) { ++scsp->MidiR; diff --git a/src/mame/drivers/model2.c b/src/mame/drivers/model2.c index ad5d98955af..7bcc8bfb31a 100644 --- a/src/mame/drivers/model2.c +++ b/src/mame/drivers/model2.c @@ -365,6 +365,7 @@ static MACHINE_RESET(model2_scsp) // copy the 68k vector table into RAM memcpy(state->m_soundram, machine.region("audiocpu")->base() + 0x80000, 16); machine.device("audiocpu")->reset(); + scsp_set_ram_base(machine.device("scsp"), state->m_soundram); } static MACHINE_RESET(model2)