Removed some excess logging from the fast PIT code.
This commit is contained in:
@@ -472,18 +472,15 @@ pitf_write(uint16_t addr, uint8_t val, void *priv)
|
|||||||
switch (ctr->wm) {
|
switch (ctr->wm) {
|
||||||
case 1:
|
case 1:
|
||||||
ctr->l = val;
|
ctr->l = val;
|
||||||
if (t == 1) pclog("Timer 1 counter set to: %08X\n", ctr->l);
|
|
||||||
pitf_ctr_load(ctr);
|
pitf_ctr_load(ctr);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ctr->l = (val << 8);
|
ctr->l = (val << 8);
|
||||||
if (t == 1) pclog("Timer 1 counter set to: %08X\n", ctr->l);
|
|
||||||
pitf_ctr_load(ctr);
|
pitf_ctr_load(ctr);
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
ctr->l &= 0xFF;
|
ctr->l &= 0xFF;
|
||||||
ctr->l |= (val << 8);
|
ctr->l |= (val << 8);
|
||||||
if (t == 1) pclog("Timer 1 counter set to: %08X\n", ctr->l);
|
|
||||||
pitf_ctr_load(ctr);
|
pitf_ctr_load(ctr);
|
||||||
ctr->wm = 3;
|
ctr->wm = 3;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user