Previous 199869 Revisions Next

r23888 Sunday 23rd June, 2013 at 17:50:28 UTC by Fabio Priuli
(MESS) sns_sa1: minor fix. nw.
[src/mess/machine]sns_sa1.c

trunk/src/mess/machine/sns_sa1.c
r23887r23888
203203      return read_h(space, (offset & 0x7fffff));
204204
205205   if ((offset & 0x40e000) == 0x006000)  //$00-3f|80-bf:6000-7fff
206      return read_bwram(offset & 0x1fff);
206      return read_bwram((m_bwram_sa1 * 0x2000) + (offset & 0x1fff));
207207
208208   if ((offset & 0xf00000) == 0x400000)  //$40-4f:0000-ffff
209209      return read_bwram(offset & 0xfffff);
r23887r23888
698698      return m_nvram[offset & (m_nvram_size - 1)];
699699
700700   // Bitmap BWRAM
701   offset -= 0x100000;
702   
701703   if (m_bwram_sa1_format)
702704   {
703705      // 2bits mode
r23887r23888
731733   }
732734
733735   // Bitmap BWRAM
736   offset -= 0x100000;
737   
734738   if (m_bwram_sa1_format)
735739   {
736740      // 2bits mode

Previous 199869 Revisions Next


© 1997-2024 The MAME Team