summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/8530scc.cpp
diff options
context:
space:
mode:
author CharlesJS <bulk@charlessoft.com>2016-10-15 05:06:43 -0500
committer GitHub <noreply@github.com>2016-10-15 05:06:43 -0500
commit4eccd938c199aff2df32b9b2b79d11c0ffc5b14e (patch)
treee0d827d15188c8bbb30ceb025bd54f6ce634685c /src/devices/machine/8530scc.cpp
parentab29018834b182e49cd6645bfcc6c72a92adf351 (diff)
Update 8530scc.cpp
Diffstat (limited to 'src/devices/machine/8530scc.cpp')
-rw-r--r--src/devices/machine/8530scc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/8530scc.cpp b/src/devices/machine/8530scc.cpp
index bf1c5e09203..88cd30a3388 100644
--- a/src/devices/machine/8530scc.cpp
+++ b/src/devices/machine/8530scc.cpp
@@ -530,7 +530,7 @@ void scc8530_t::write_reg(int offset, UINT8 data)
case 0: /* Channel B (Printer Port) Control */
case 1: /* Channel A (Modem Port) Control */
{
- int chan = ((offset == 2) ? 1 : 0);
+ int chan = ((offset == 0) ? 1 : 0);
if (mode == 0)
{
if((data & 0xf0) == 0) // not a reset command