PIT emulation now more modular.

This commit is contained in:
SarahW 2017-04-06 21:56:49 +01:00
commit 1ad8c6c5fe
8 changed files with 266 additions and 257 deletions

View file

@ -86,7 +86,7 @@ void keyboard_xt_write(uint16_t port, uint8_t val, void *priv)
speaker_enable = val & 2;
if (speaker_enable)
was_speaker_enable = 1;
pit_set_gate(2, val & 1);
pit_set_gate(&pit, 2, val & 1);
if (val & 0x80)
{