Fixed pic_set_pci().

This commit is contained in:
OBattler
2021-10-04 15:38:43 +02:00
parent 114539b2b2
commit 63d208182a

View File

@@ -520,7 +520,7 @@ pic_set_pci(void)
{
int i;
for (i = 0x0024; i < 0x0040; i++) {
for (i = 0x0024; i < 0x0040; i += 4) {
io_sethandler(i, 0x0002, pic_read, NULL, NULL, pic_write, NULL, NULL, &pic);
io_sethandler(i + 0x0080, 0x0002, pic_read, NULL, NULL, pic_write, NULL, NULL, &pic2);
}