mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-25 19:33:05 +00:00
Merge remote-tracking branch 'upstream/master' into 64-bit-BARs
This commit is contained in:
commit
8862a73ef1
@ -91,11 +91,11 @@ uint32_t MPC106::read(uint32_t rgn_start, uint32_t offset, int size) {
|
|||||||
if (offset >= 0x200000) {
|
if (offset >= 0x200000) {
|
||||||
if (this->config_addr & 0x80) // process only if bit E (enable) is set
|
if (this->config_addr & 0x80) // process only if bit E (enable) is set
|
||||||
return pci_read(offset, size);
|
return pci_read(offset, size);
|
||||||
|
} else {
|
||||||
|
return this->config_addr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: reading from CONFIG_ADDR is ignored for now
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user