bye bye silly terminator errors... nw.

This commit is contained in:
Fabio Priuli 2013-05-30 04:58:20 +00:00
parent 800c6fd7c3
commit 0016e49bc9
3 changed files with 7 additions and 7 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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));