don't exit on unhandled pit commands
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1091
This commit is contained in:
parent
c184fbd2a0
commit
75c8236f5b
1 changed files with 3 additions and 1 deletions
|
@ -190,7 +190,9 @@ static void write_p43(Bit32u port,Bit8u val) {
|
|||
if (val & 0x02) counter_latch(0);
|
||||
if (val & 0x04) counter_latch(1);
|
||||
if (val & 0x08) counter_latch(2);
|
||||
} else E_Exit("PIT:Latch Timer Status %X",val);
|
||||
} else if ((val & 0x10)==0) { /* Latch status words */
|
||||
LOG(LOG_PIT,LOG_ERROR)("Unsupported Latch status word call");
|
||||
} else LOG(LOG_PIT,LOG_ERROR)("Unhandled command:%X",val);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue