Fixed 440GX ID without AGP and the FDC now causes the CPU to run the timers on MSR read when the recompiler is used.
This commit is contained in:
@@ -1571,7 +1571,7 @@ static void
|
|||||||
regs[0x7a] = (info->local >> 8) & 0xff;
|
regs[0x7a] = (info->local >> 8) & 0xff;
|
||||||
dev->max_func = (regs[0x7a] & 0x02) ? 0 : 1;
|
dev->max_func = (regs[0x7a] & 0x02) ? 0 : 1;
|
||||||
|
|
||||||
regs[0x02] = 0xa0; regs[0x03] = 0x71; /* 82443GX */
|
regs[0x02] = (regs[0x7a] & 0x02) ? 0xa2 : 0xa0; regs[0x03] = 0x71; /* 82443GX */
|
||||||
regs[0x06] = (regs[0x7a] & 0x02) ? 0x00 : 0x10;
|
regs[0x06] = (regs[0x7a] & 0x02) ? 0x00 : 0x10;
|
||||||
regs[0x08] = 0x02;
|
regs[0x08] = 0x02;
|
||||||
regs[0x10] = 0x08;
|
regs[0x10] = 0x08;
|
||||||
|
@@ -1350,6 +1350,10 @@ fdc_read(uint16_t addr, void *priv)
|
|||||||
break;
|
break;
|
||||||
case 4: /*Status*/
|
case 4: /*Status*/
|
||||||
ret = fdc->stat;
|
ret = fdc->stat;
|
||||||
|
#ifdef USE_DYNAREC
|
||||||
|
if (cpu_use_dynarec)
|
||||||
|
update_tsc();
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case 5: /*Data*/
|
case 5: /*Data*/
|
||||||
if ((fdc->stat & 0xf0) == 0xf0) {
|
if ((fdc->stat & 0xf0) == 0xf0) {
|
||||||
|
Reference in New Issue
Block a user