diff options
author | Aaron Giles <aaron@aarongiles.com> | 2009-01-04 23:01:29 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2009-01-04 23:01:29 +0000 |
commit | ed893fe35c8a614ba67de60579f53866368f1476 (patch) | |
tree | aa2957b1805c2ab489ffbcda009985280d9bf4f2 | |
parent | 5406ec6027d00b1158190a89be76c1f5e6f58504 (diff) |
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
-rw-r--r-- | src/emu/cpu/cp1610/cp1610.h | 6 |
1 files 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 ); |