mirror of
https://github.com/holub/mame
synced 2025-05-12 09:08:53 +03:00
Fix sound in Sega Model 2a/2b/2c. [trap15, R. Belmont]
This commit is contained in:
parent
1d67e27539
commit
d7d7aafcb3
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user