| Previous | 199869 Revisions | Next |
| r19661 Tuesday 18th December, 2012 at 15:02:02 UTC by smf |
|---|
| fix for msvc (nw) |
| [src/emu/cpu/mcs96] | i8x9x.c |
| r19660 | r19661 | |
|---|---|---|
| 238 | 238 | case 0x0d: |
| 239 | 239 | logerror("%s: read timer2 h (%04x)\n", tag(), PPC); |
| 240 | 240 | return timer_value(2, get_cycle()) >> 8; |
| 241 | case 0x0e: | |
| 241 | case 0x0e: { | |
| 242 | 242 | static int last = -1; |
| 243 | 243 | if(io->read_word(P0*2) != last) { |
| 244 | 244 | last = io->read_word(P0*2); |
| 245 | 245 | logerror("%s: read p0 %02x\n", tag(), io->read_word(P0*2)); |
| 246 | 246 | } |
| 247 | 247 | return io->read_word(P0*2); |
| 248 | } | |
| 248 | 249 | case 0x0f: |
| 249 | 250 | return io->read_word(P1*2); |
| 250 | 251 | case 0x10: |
| Previous | 199869 Revisions | Next |