mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
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:
parent
410a99b10d
commit
da657ff7c1
@ -553,7 +553,7 @@ static READ8_HANDLER( alibaba_mystery_2_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();
|
||||
|
||||
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 )
|
||||
{
|
||||
int data = input_port_read(machine, "IN1");
|
||||
int data = input_port_read(machine, "DSW1");
|
||||
int pc = activecpu_get_previouspc();
|
||||
|
||||
if ((pc == 0x196e) || (pc == 0x2387)) return data | 0x40;
|
||||
|
Loading…
Reference in New Issue
Block a user