k051649: Fix logic error in previous commit (nw)

This commit is contained in:
AJR 2019-03-11 14:41:50 -04:00
parent f5985ab869
commit 7201f4b421

View File

@ -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;
}