mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 09:42:47 -05:00
ALi M1543(C) jumper readout fix I thought I committed but I evidently didn't.
This commit is contained in:
parent
2a41bc823f
commit
6d7de97d3b
1 changed files with 2 additions and 0 deletions
|
@ -1355,6 +1355,8 @@ ali7101_read(int func, int addr, void *priv)
|
|||
/* TODO: C4, C5 = GPIREG (masks: 0D, 0E) */
|
||||
if (addr == 0x43)
|
||||
ret = acpi_ali_soft_smi_status_read(dev->acpi) ? 0x10 : 0x00;
|
||||
else if (addr == 0x7f)
|
||||
ret = 0x80;
|
||||
else if (addr == 0xbc)
|
||||
ret = inb(0x70);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue