Previous 199869 Revisions Next

r32859 Tuesday 21st October, 2014 at 18:11:21 UTC by MetalliC
spectum.c: remove weird loop range at border drawing, make Pentagon stereo, correct AY clock
[src/mess/drivers]pentagon.c
[src/mess/video]spectrum.c

trunk/src/mess/drivers/pentagon.c
r241370r241371
234234   MCFG_BETA_DISK_ADD(BETA_DISK_TAG)
235235   MCFG_GFXDECODE_MODIFY("gfxdecode", pentagon)
236236
237   MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
238
239   MCFG_SOUND_REPLACE("ay8912", AY8912, XTAL_14MHz / 8)
240   MCFG_SOUND_ROUTE(0, "lspeaker", 0.50)
241   MCFG_SOUND_ROUTE(1, "lspeaker", 0.25)
242   MCFG_SOUND_ROUTE(1, "rspeaker", 0.25)
243   MCFG_SOUND_ROUTE(2, "rspeaker", 0.50)
244
237245   MCFG_SOFTWARE_LIST_ADD("cass_list_pen","pentagon_cass")
238246MACHINE_CONFIG_END
239247
trunk/src/mess/video/spectrum.c
r241370r241371
197197
198198      do
199199      {
200         if (m_previous_border_y < height)
201         {
202            UINT16* bm = &m_border_bitmap.pix16(m_previous_border_y);
200         UINT16* bm = &m_border_bitmap.pix16(m_previous_border_y);
201         bm[m_previous_border_x] = colour;
203202
204            if (m_previous_border_x < width)
205               bm[m_previous_border_x] = colour;
206         }
207
208203         m_previous_border_x += 1;
209204
210         if (m_previous_border_x > width)
205         if (m_previous_border_x >= width)
211206         {
212207            m_previous_border_x = 0;
213208            m_previous_border_y += 1;
214209
215            if (m_previous_border_y > height)
210            if (m_previous_border_y >= height)
216211            {
217212               m_previous_border_y = 0;
218213            }


Previous 199869 Revisions Next


© 1997-2024 The MAME Team