mirror of
https://github.com/holub/mame
synced 2025-06-29 23:48:56 +03:00
bye bye silly terminator errors... nw.
This commit is contained in:
parent
800c6fd7c3
commit
0016e49bc9
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user