trunk/src/mess/drivers/pentagon.c
| r241370 | r241371 | |
| 234 | 234 | MCFG_BETA_DISK_ADD(BETA_DISK_TAG) |
| 235 | 235 | MCFG_GFXDECODE_MODIFY("gfxdecode", pentagon) |
| 236 | 236 | |
| 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 | |
| 237 | 245 | MCFG_SOFTWARE_LIST_ADD("cass_list_pen","pentagon_cass") |
| 238 | 246 | MACHINE_CONFIG_END |
| 239 | 247 | |
trunk/src/mess/video/spectrum.c
| r241370 | r241371 | |
| 197 | 197 | |
| 198 | 198 | do |
| 199 | 199 | { |
| 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; |
| 203 | 202 | |
| 204 | | if (m_previous_border_x < width) |
| 205 | | bm[m_previous_border_x] = colour; |
| 206 | | } |
| 207 | | |
| 208 | 203 | m_previous_border_x += 1; |
| 209 | 204 | |
| 210 | | if (m_previous_border_x > width) |
| 205 | if (m_previous_border_x >= width) |
| 211 | 206 | { |
| 212 | 207 | m_previous_border_x = 0; |
| 213 | 208 | m_previous_border_y += 1; |
| 214 | 209 | |
| 215 | | if (m_previous_border_y > height) |
| 210 | if (m_previous_border_y >= height) |
| 216 | 211 | { |
| 217 | 212 | m_previous_border_y = 0; |
| 218 | 213 | } |