From da657ff7c190f5d7650cae5e4f09f40d93623c25 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 23 Oct 2008 08:48:30 +0000 Subject: [PATCH] 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 --- src/mame/drivers/pacman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/pacman.c b/src/mame/drivers/pacman.c index 512149d4895..cf603437849 100644 --- a/src/mame/drivers/pacman.c +++ b/src/mame/drivers/pacman.c @@ -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;