Previous 199869 Revisions Next

r21054 Wednesday 13th February, 2013 at 23:51:22 UTC by Angelo Salese
Fixed regression with Shienryu
[src/emu/machine]smpc.c

trunk/src/emu/machine/smpc.c
r21053r21054
315315   saturn_state *state = machine.driver_data<saturn_state>();
316316   int i;
317317
318//   printf("%02x %02x %02x\n",state->m_smpc.intback_buf[0],state->m_smpc.intback_buf[1],state->m_smpc.intback_buf[2]);
319
318320   if(state->m_smpc.intback_buf[0] != 0)
319321   {
320322      state->m_smpc.OREG[0] = (0x80) | ((state->m_NMI_reset & 1) << 6);
r21053r21054
365367      state->m_smpc.OREG[31] = 0x10;
366368      machine.scheduler().timer_set(attotime::from_usec(0), FUNC(stv_intback_peripheral),0);
367369   }
370   else
371   {
372      /* Shienryu calls this, it would be plainly illegal on Saturn, I'll just return the command and clear the hs flag for now. */
373      state->m_smpc.OREG[31] = 0x10;
374      state->m_smpc.SF = 0x00;
375   }
368376}
369377
370378

Previous 199869 Revisions Next


© 1997-2024 The MAME Team