summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ay31015.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-03-01 01:02:07 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-03-01 01:02:07 -0500
commit18cd4dc1849a687ad7260d66539d9805037fd5f1 (patch)
tree078d452a4766bdd5fc618a6a88a8c8efff2930af /src/devices/machine/ay31015.cpp
parent27720535c2648fd42cc540edf2e0259884997be9 (diff)
dialog80: UART loopback test passes (nw)
Diffstat (limited to 'src/devices/machine/ay31015.cpp')
-rw-r--r--src/devices/machine/ay31015.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/machine/ay31015.cpp b/src/devices/machine/ay31015.cpp
index f5bc1c74f94..0cf6a358690 100644
--- a/src/devices/machine/ay31015.cpp
+++ b/src/devices/machine/ay31015.cpp
@@ -198,10 +198,13 @@ void ay31015_device::device_start()
void ay31015_device::device_reset()
{
- m_control_reg = 0;
m_rx_data = 0;
- internal_reset();
+ if (!m_pins[CS])
+ {
+ m_control_reg = 0;
+ internal_reset();
+ }
}