diff options
author | 2009-11-08 16:22:26 +0000 | |
---|---|---|
committer | 2009-11-08 16:22:26 +0000 | |
commit | a149d0af3a091951b49af34b5464a8fc47363cea (patch) | |
tree | 18a5afce3926447944eeb29f8c7e55bd041599ff /src/emu/machine/8237dma.c | |
parent | 1f919672fef922101eb2bdba635b788d35a5d847 (diff) |
Fixed i8237 DACK polarity.
Diffstat (limited to 'src/emu/machine/8237dma.c')
-rw-r--r-- | src/emu/machine/8237dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/8237dma.c b/src/emu/machine/8237dma.c index ee3d5502057..a7f590fe875 100644 --- a/src/emu/machine/8237dma.c +++ b/src/emu/machine/8237dma.c @@ -217,7 +217,7 @@ static void set_dack(i8237_t *i8237, int channel) for (i = 0; i < 4; i++) { - int state = (i == channel) ^ BIT(i8237->command, 7); + int state = (i == channel) ^ !BIT(i8237->command, 7); devcb_call_write_line(&i8237->chan[i].out_dack_func, state); } |