Previous 199869 Revisions Next

r21868 Friday 15th March, 2013 at 07:15:37 UTC by Fabio Priuli
(MESS) snes: fixed snesst10 and (partially) snesst11. nw.

these drivers will be removed very soon, but it's better to have these
with CPU running for future comparisons and possible regression tracking.
[src/mess/drivers]snes.c
[src/mess/machine]snescart.c

trunk/src/mess/machine/snescart.c
r21867r21868
498498            state->m_has_addon_chip = HAS_ST011;
499499         else
500500            state->m_has_addon_chip = HAS_ST010;
501
502         // if we are loading the game in a driver without the ST01X DSP, revert to HAS_NONE to avoid crash
503         if (!state->m_upd96050)
504            state->m_has_addon_chip = HAS_NONE;
505501         break;
506502
507503      case 0xf9:
trunk/src/mess/drivers/snes.c
r21867r21868
213213   {
214214      if (offset >= 0x680000 && offset < 0x700000 && address < 0x1000)
215215         return st010_read_ram(address);
216      if (offset == 0x600000 || offset == 0x600001)
216      if ((offset == 0x600000 || offset == 0x600001) &&  m_has_addon_chip == HAS_ST010) // moritash freezes due to this...
217217         return (offset & 1) ? st010_get_sr() : st010_get_dr();
218218   }
219219   if (m_cart[0].mode == SNES_MODE_21 && m_has_addon_chip == HAS_DSP1

Previous 199869 Revisions Next


© 1997-2024 The MAME Team