From ed893fe35c8a614ba67de60579f53866368f1476 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 4 Jan 2009 23:01:29 +0000 Subject: [PATCH] From: Robert [mailto:pac0446@bigpond.net.au] Sent: Wednesday, December 31, 2008 6:39 PM To: Mamedev submit Subject: Fix for 1610 cpu The cp1610 cpu crashes when it attempts to reset itself. It gets the PULSE_LINE message. A one-line fix to cp1610.h will fix the problem. It has been tested on the intellivision mess driver. Please change the line that says: #define CP1610_RESET 2 to #define CP1610_RESET INPUT_LINE_RESET Thank you and Happy New Year. - Robbbert --- src/emu/cpu/cp1610/cp1610.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/cpu/cp1610/cp1610.h b/src/emu/cpu/cp1610/cp1610.h index 09eae618e3b..2965b90970f 100644 --- a/src/emu/cpu/cp1610/cp1610.h +++ b/src/emu/cpu/cp1610/cp1610.h @@ -31,9 +31,9 @@ enum }; #define CP1610_INT_NONE 0 -#define CP1610_INT_INTRM 1 /* Maskable */ -#define CP1610_RESET 2 /* Non-Maskable */ -#define CP1610_INT_INTR INPUT_LINE_NMI /* Non-Maskable */ +#define CP1610_INT_INTRM 1 /* Maskable */ +#define CP1610_RESET INPUT_LINE_RESET /* Non-Maskable */ +#define CP1610_INT_INTR INPUT_LINE_NMI /* Non-Maskable */ CPU_GET_INFO( cp1610 );