mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 01:25:33 -07:00
AD1848: I23 bits 7-1 are read-only on CS4232/4236 non-B, fixes CS4236 non-B detection on Windows 2000
This commit is contained in:
@@ -521,6 +521,8 @@ readonly_x:
|
||||
}
|
||||
if (ad1848->type == AD1848_TYPE_CS4231) /* I23 is reserved and read-only on CS4231 non-A */
|
||||
goto readonly_i;
|
||||
if ((ad1848->type >= AD1848_TYPE_CS4232) || (ad1848->type <= AD1848_TYPE_CS4236)) /* I23 bits 7-1 are read-only on CS4231A/4232/4236 non-B, Win2k relies on this for detection */
|
||||
val = (val & 0x01);
|
||||
break;
|
||||
|
||||
case 24:
|
||||
|
||||
Reference in New Issue
Block a user