upd7220: Sync command should enable/disable the DE bit (#11823)

This commit is contained in:
Brian Johnson 2023-12-09 23:58:01 -05:00 committed by GitHub
parent be4bcaaa84
commit 3a500bb2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1173,6 +1173,11 @@ void upd7220_device::process_fifo()
break;
case COMMAND_SYNC: /* sync format specify */
if (flag == FIFO_COMMAND)
{
m_de = m_cr & 1;
}
if (m_param_ptr == 9)
{
m_mode = m_pr[1];