From 0016e49bc9a43fa1fc2643545d30fd19109c9e1a Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Thu, 30 May 2013 04:58:20 +0000 Subject: [PATCH] bye bye silly terminator errors... nw. --- src/mess/drivers/enterp.c | 2 +- src/mess/machine/intv.c | 10 +++++----- src/mess/machine/sms.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mess/drivers/enterp.c b/src/mess/drivers/enterp.c index 99dd05faf13..54ceb4ee6f8 100644 --- a/src/mess/drivers/enterp.c +++ b/src/mess/drivers/enterp.c @@ -164,7 +164,7 @@ void ep_state::machine_start() for (int i = 0; i < 10; i++) { - char str[5]; + char str[6]; sprintf(str, "LINE%i", i); m_key[i] = ioport(str); } diff --git a/src/mess/machine/intv.c b/src/mess/machine/intv.c index 00711609358..0119b6b992d 100644 --- a/src/mess/machine/intv.c +++ b/src/mess/machine/intv.c @@ -637,19 +637,19 @@ void intv_state::machine_start() // TODO: split these for intvkbd & intvecs?? for (int i = 0; i < 4; i++) { - char str[7]; + char str[8]; sprintf(str, "KEYPAD%i", i + 1); m_keypad[i] = ioport(str); } for (int i = 0; i < 4; i++) { - char str[5]; + char str[6]; sprintf(str, "DISC%i", i + 1); m_disc[i] = ioport(str); } for (int i = 0; i < 4; i++) { - char str[6]; + char str[7]; sprintf(str, "DISCX%i", i + 1); m_discx[i] = ioport(str); sprintf(str, "DISCY%i", i + 1); @@ -668,13 +668,13 @@ void intv_state::machine_start() { for (int i = 0; i < 7; i++) { - char str[8]; + char str[9]; sprintf(str, "ECS_ROW%i", i); m_ecs_keyboard[i] = ioport(str); } for (int i = 0; i < 7; i++) { - char str[14]; + char str[15]; sprintf(str, "ECS_SYNTH_ROW%i", i); m_ecs_synth[i] = ioport(str); } diff --git a/src/mess/machine/sms.c b/src/mess/machine/sms.c index 519f5e0bb03..3f62b69aa09 100644 --- a/src/mess/machine/sms.c +++ b/src/mess/machine/sms.c @@ -1054,7 +1054,7 @@ void sms_state::setup_bios() MACHINE_START_MEMBER(sms_state,sms) { - char str[6]; + char str[7]; m_rapid_fire_timer = timer_alloc(TIMER_RAPID_FIRE); m_rapid_fire_timer->adjust(attotime::from_hz(10), 0, attotime::from_hz(10));