Return 0 for block decoded I/O address on Mach64 GX. Fixes hang in OS/2 Warp install when using this card.
This commit is contained in:
parent
e6d20ca199
commit
75cdefe0b4
1 changed files with 4 additions and 1 deletions
|
|
@ -3210,7 +3210,10 @@ uint8_t mach64_pci_read(int func, int addr, void *p)
|
|||
case 0x12: return mach64->linear_base >> 16;
|
||||
case 0x13: return mach64->linear_base >> 24;
|
||||
|
||||
case 0x14: return 0x01; /*Block decoded IO address*/
|
||||
case 0x14:
|
||||
if (mach64->type == MACH64_VT2)
|
||||
return 0x01; /*Block decoded IO address*/
|
||||
return 0;
|
||||
case 0x15: return mach64->block_decoded_io >> 8;
|
||||
case 0x16: return mach64->block_decoded_io >> 16;
|
||||
case 0x17: return mach64->block_decoded_io >> 24;
|
||||
|
|
|
|||
Loading…
Reference in a new issue