From: Fabio Priuli [mailto:doge.fabio@gmail.com]

Sent: Mon 10/20/2008 9:45 AM
To: submit@mamedev.org
Subject: fix for mt 2577
the wrong tags were used for maketrax when indexed inputs were converted to tagged ones (0.125u7): input 2 was 'dsw1' but 'in1' was used. probably a mistake I made. sorry. 

regards

        Fabio
This commit is contained in:
Aaron Giles 2008-10-23 08:48:30 +00:00
parent 410a99b10d
commit da657ff7c1

View File

@ -553,7 +553,7 @@ static READ8_HANDLER( alibaba_mystery_2_r )
static READ8_HANDLER( maketrax_special_port2_r ) static READ8_HANDLER( maketrax_special_port2_r )
{ {
int data = input_port_read(machine, "IN1"); int data = input_port_read(machine, "DSW1");
int pc = activecpu_get_previouspc(); int pc = activecpu_get_previouspc();
if ((pc == 0x1973) || (pc == 0x2389)) return data | 0x40; if ((pc == 0x1973) || (pc == 0x2389)) return data | 0x40;
@ -596,7 +596,7 @@ static READ8_HANDLER( maketrax_special_port3_r )
static READ8_HANDLER( korosuke_special_port2_r ) static READ8_HANDLER( korosuke_special_port2_r )
{ {
int data = input_port_read(machine, "IN1"); int data = input_port_read(machine, "DSW1");
int pc = activecpu_get_previouspc(); int pc = activecpu_get_previouspc();
if ((pc == 0x196e) || (pc == 0x2387)) return data | 0x40; if ((pc == 0x196e) || (pc == 0x2387)) return data | 0x40;