From 7201f4b421f986471850a96798e44abd3327b149 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 11 Mar 2019 14:41:50 -0400 Subject: [PATCH] k051649: Fix logic error in previous commit (nw) --- src/devices/sound/k051649.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/sound/k051649.cpp b/src/devices/sound/k051649.cpp index a47fb93fced..995593aa6b2 100644 --- a/src/devices/sound/k051649.cpp +++ b/src/devices/sound/k051649.cpp @@ -285,7 +285,7 @@ void k051649_device::k051649_test_w(uint8_t data) uint8_t k051649_device::k051649_test_r() { // reading the test register sets it to $ff! - if (machine().side_effects_disabled()) + if (!machine().side_effects_disabled()) k051649_test_w(0xff); return 0xff; }