| Previous | 199869 Revisions | Next |
| r21494 Friday 1st March, 2013 at 00:44:18 UTC by Angelo Salese |
|---|
| Fixed OKI bank |
| [src/mame/drivers] | gunpey.c |
| r21493 | r21494 | |
|---|---|---|
| 454 | 454 | |
| 455 | 455 | WRITE8_MEMBER(gunpey_state::gunpey_output_w) |
| 456 | 456 | { |
| 457 | if((data & 0xf0) != 0x90) | |
| 458 | printf("0x7f48 write with %02x\n",data); | |
| 457 | //bit 0 is coin counter | |
| 458 | // popmessage("%02x",data); | |
| 459 | 459 | |
| 460 | downcast<okim6295_device *>(m_oki)->set_bank_base((data & 0x0 | |
| 460 | downcast<okim6295_device *>(m_oki)->set_bank_base(((data & 0x70)>>4) * 0x40000); | |
| 461 | 461 | } |
| 462 | 462 | |
| 463 | 463 | WRITE16_MEMBER(gunpey_state::gunpey_vram_bank_w) |
| Previous | 199869 Revisions | Next |