summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2016-06-19 20:40:30 +0100
committer smf- <smf-@users.noreply.github.com>2016-06-19 20:40:30 +0100
commit24bd3412ac07935961d9d9cfc9dbc90e43ca1621 (patch)
treee7a421f224ea22d0d70b1e57d293d487709f8eef /src
parent9c93568a2ec7ee089a4b680d74e09a87bde67852 (diff)
let builds happen (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/machine/8530scc.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/machine/8530scc.cpp b/src/devices/machine/8530scc.cpp
index 25484798b36..be3bbf6ed6d 100644
--- a/src/devices/machine/8530scc.cpp
+++ b/src/devices/machine/8530scc.cpp
@@ -476,6 +476,8 @@ READ8_MEMBER(scc8530_t::reg_r)
UINT8 scc8530_t::read_reg(int offset)
{
+ UINT8 result = 0;
+
switch(offset)
{
case 0: /* Channel B (Printer Port) Control */
@@ -486,7 +488,7 @@ UINT8 scc8530_t::read_reg(int offset)
else
reg = 0;
- result = (offset == 0) ? getbreg(); : getareg()
+ result = (offset == 0) ? getbreg() : getareg();
break;
case 2: /* Channel B (Printer Port) Data */
@@ -518,11 +520,11 @@ WRITE8_MEMBER( scc8530_t::reg_w )
void scc8530_t::write_reg(int offset, UINT8 data)
{
- offset & 3;
+ //offset & 3;
// printf(" mode %d data %x offset %d \n", mode, data, offset);
- Chan *pChan;
+ //Chan *pChan;
switch(offset)
{
case 0: /* Channel B (Printer Port) Control */