saa1099: Zero writes are not errors (nw)

This commit is contained in:
AJR 2017-06-07 23:46:42 -04:00
parent 2f89a3c074
commit 3e090f75d7

View File

@ -63,6 +63,8 @@
0x1c | ---- ---x | All channels enable (0 = off, 1 = on)
0x1c | ---- --x- | Synch & Reset generators
Unspecified bits should be written as zero.
***************************************************************************/
#include "emu.h"
@ -442,7 +444,8 @@ WRITE8_MEMBER( saa1099_device::data_w )
}
break;
default: /* Error! */
logerror("%s: (SAA1099 '%s') Unknown operation (reg:%02x, data:%02x)\n", machine().describe_context(), tag(), reg, data);
if (data != 0)
logerror("%s: (SAA1099 '%s') Unknown operation (reg:%02x, data:%02x)\n", machine().describe_context(), tag(), reg, data);
}
}