Previous 15994 Revisions Next

r6999 Monday 11th January, 2010 at 03:45:53 UTC by Harmony
Fixing compile issues with MSVC 2008's busted compiler, maybe
[src/mess/drivers]vii.c

src/mess/drivers/vii.c
r6998r6999
483483         val = vii_io_regs[offset];
484484         break;
485485
486      case 0x02 ... 0x05:
487      case 0x07 ... 0x0a:
488      case 0x0c ... 0x0f: // Other GPIO regs
486      case 0x02: case 0x03: case 0x04: case 0x05:
487      case 0x07: case 0x08: case 0x09: case 0x0a:
488      case 0x0c: case 0x0d: case 0x0e: case 0x0f: // Other GPIO regs
489489         verboselog(space->machine, 3, "vii_io_r: %s %c = %04x (%04x)\n", gpioregs[(offset - 1) % 5], gpioports[(offset - 1) / 5], vii_io_regs[offset], mem_mask);
490490         break;
491491
r6998r6999
556556         offset++;
557557         // Intentional fallthrough
558558
559      case 0x02 ... 0x05: // Port A
560      case 0x07 ... 0x0a: // Port B
561      case 0x0c ... 0x0f: // Port C
559      case 0x02: case 0x03: case 0x04: case 0x05: // Port A
560      case 0x07: case 0x08: case 0x09: case 0x0a: // Port B
561      case 0x0c: case 0x0d: case 0x0e: case 0x0f: // Port C
562562         verboselog(space->machine, 3, "vii_io_w: %s %c = %04x (%04x)\n", gpioregs[(offset - 1) % 5], gpioports[(offset - 1) / 5], data, mem_mask);
563563         COMBINE_DATA(&vii_io_regs[offset]);
564564         vii_do_gpio(space->machine, offset);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team