Added a comment to that piece of code in pit.c to avoid future confusion.

This commit is contained in:
OBattler
2021-04-10 19:49:07 +02:00
parent 8aae3f6163
commit c4fd9e7753

View File

@@ -647,6 +647,8 @@ pit_read(uint16_t addr, void *priv)
break;
case 3: case 0x83:
/* Yes, wm is correct here - this is to ensure correct readout while the
count is being written. */
if (ctr->wm & 0x80)
ret = ~(ctr->l & 0xff);
else