diff options
author | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2015-09-20 09:38:44 +0200 |
---|---|---|
committer | Wilbert Pol <wilbertpol@users.noreply.github.com> | 2015-09-20 09:48:06 +0200 |
commit | fd069ed1a39d0a1a042d207bc44a7c31c214890f (patch) | |
tree | 82b38b7401834ebd0e2e8241e4b1246ce50697f9 /src/mess | |
parent | 2298378b5d96520734ec0bef7d694d69a0d0d64f (diff) |
mmodular.c: Fix some crashes (nw)
Diffstat (limited to 'src/mess')
-rw-r--r-- | src/mess/drivers/mmodular.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mess/drivers/mmodular.c b/src/mess/drivers/mmodular.c index 96e06e1f170..17c2d2c3499 100644 --- a/src/mess/drivers/mmodular.c +++ b/src/mess/drivers/mmodular.c @@ -652,7 +652,7 @@ READ8_MEMBER(polgar_state::milano_read_board) { int line; static const char *const board_lines[8] = - { "LINE2", "LINE3", "LINE4", "LINE5", "LINE6", "LINE7", "LINE8", "LINE9" }; + { "LINE.0", "LINE.1", "LINE.2", "LINE.3", "LINE.4", "LINE.5", "LINE.6", "LINE.7" }; UINT8 data = 0x00; UINT8 tmp; // = 0xff; @@ -703,7 +703,7 @@ READ32_MEMBER(polgar_state::read_keys_BPL32) UINT32 data = 0; UINT8 tmp = 0xff, line = 0; static const char *const board_lines[8] = - { "LINE2", "LINE3", "LINE4", "LINE5", "LINE6", "LINE7", "LINE8", "LINE9" }; + { "LINE.0", "LINE.1", "LINE.2", "LINE.3", "LINE.4", "LINE.5", "LINE.6", "LINE.7" }; if (BPL32latch_data == 0xff) { tmp = ioport("BUTTONS_BPL")->read(); @@ -784,7 +784,7 @@ READ8_MEMBER(polgar_state::read_keys_board_academy) UINT8 data = 0; // UINT8 tmp = 0xff, line = 0; // static const char *const board_lines[8] = -// { "LINE2", "LINE3", "LINE4", "LINE5", "LINE6", "LINE7", "LINE8", "LINE9" }; +// { "LINE.0", "LINE.1", "LINE.2", "LINE.3", "LINE.4", "LINE.5", "LINE.6", "LINE.7" }; if (latch_data == 0xff) { data = ioport("BUTTONS_ACAD")->read(); |