Voodoo PCI mapping disabled if base address is zero - fixes Voodoo + Sis496/497.
This commit is contained in:
parent
4b2eb2e252
commit
90aa13aa29
1 changed files with 1 additions and 1 deletions
|
|
@ -3549,7 +3549,7 @@ static void render_thread(void *param)
|
|||
|
||||
static void voodoo_recalcmapping(voodoo_t *voodoo)
|
||||
{
|
||||
if (voodoo->pci_enable)
|
||||
if (voodoo->pci_enable && voodoo->memBaseAddr)
|
||||
{
|
||||
pclog("voodoo_recalcmapping : memBaseAddr %08X\n", voodoo->memBaseAddr);
|
||||
mem_mapping_set_addr(&voodoo->mapping, voodoo->memBaseAddr, 0x01000000);
|
||||
|
|
|
|||
Loading…
Reference in a new issue