| Previous | 199869 Revisions | Next |
| r29228 Thursday 3rd April, 2014 at 20:47:56 UTC by Fabio Priuli |
|---|
| (MESS) fixed a few errors caught by VS. nw. |
| [src/emu/bus/nes] | bootleg.c jy.c pirate.c |
| r29227 | r29228 | |
|---|---|---|
| 1101 | 1101 | LOG_MMC(("smb2jb write_l, offset: %04x, data: %02x\n", offset, data)); |
| 1102 | 1102 | offset += 0x100; |
| 1103 | 1103 | |
| 1104 | switch (offset & 0x1 | |
| 1104 | switch (offset & 0x1e0) | |
| 1105 | 1105 | { |
| 1106 | 1106 | case 0x020: |
| 1107 | 1107 | case 0x0a0: |
| r29227 | r29228 | |
|---|---|---|
| 1324 | 1324 | case 0x4000: |
| 1325 | 1325 | case 0x4004: |
| 1326 | 1326 | case 0x4008: |
| 1327 | case 0x400 | |
| 1327 | case 0x400c: | |
| 1328 | 1328 | m_prg_mode = data & 1; |
| 1329 | 1329 | |
| 1330 | 1330 | case 0x7000: |
| r29227 | r29228 | |
|---|---|---|
| 167 | 167 | return; |
| 168 | 168 | |
| 169 | 169 | // no counter changes if both Up/Down are set or clear |
| 170 | if ((m_irq_down && m_irq_up) || (!m_irq_down && !m_irq_ | |
| 170 | if ((m_irq_down && m_irq_up) || (!m_irq_down && !m_irq_up)) | |
| 171 | 171 | return; |
| 172 | 172 | |
| 173 | 173 | // update prescaler |
| Previous | 199869 Revisions | Next |