fix PIT single byte access order

This commit is contained in:
Oskari Alaranta 2025-07-19 01:32:22 +03:00 committed by Fabian
parent 6c5fe0f40c
commit 51bf5a63dc

View file

@ -308,13 +308,13 @@ PIT.prototype.port43_write = function(reg_byte)
if(read_mode === 1)
{
// msb
this.counter_next_low[i] = 0;
// lsb
this.counter_next_low[i] = 1;
}
else if(read_mode === 2)
{
// lsb
this.counter_next_low[i] = 1;
// msb
this.counter_next_low[i] = 0;
}
else
{