mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-05 02:24:41 +00:00
Add missing this.
This commit is contained in:
@@ -31,7 +31,7 @@ AspenCtrl::AspenCtrl() : MemCtrlBase() {
|
||||
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
|
||||
|
||||
// add MMIO region for the configuration and status registers
|
||||
add_mmio_region(0xF8000000, 0x800, this);
|
||||
this->add_mmio_region(0xF8000000, 0x800, this);
|
||||
}
|
||||
|
||||
int AspenCtrl::device_postinit() {
|
||||
|
@@ -37,7 +37,7 @@ HammerheadCtrl::HammerheadCtrl() : MemCtrlBase()
|
||||
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
|
||||
|
||||
// add MMIO region for the configuration and status registers
|
||||
add_mmio_region(0xF8000000, 0x500, this);
|
||||
this->add_mmio_region(0xF8000000, 0x500, this);
|
||||
}
|
||||
|
||||
uint32_t HammerheadCtrl::read(uint32_t rgn_start, uint32_t offset, int size)
|
||||
|
@@ -36,7 +36,7 @@ HMC::HMC() : MemCtrlBase()
|
||||
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
|
||||
|
||||
// add memory mapped I/O region for the HMC control register
|
||||
add_mmio_region(0x50F40000, 0x10000, this);
|
||||
this->add_mmio_region(0x50F40000, 0x10000, this);
|
||||
|
||||
this->ctrl_reg = 0ULL;
|
||||
this->bit_pos = 0;
|
||||
|
@@ -46,10 +46,10 @@ MPC106::MPC106() : MemCtrlBase(), PCIDevice("Grackle"), PCIHost()
|
||||
this->status = 0x80;
|
||||
|
||||
// add PCI/ISA I/O space, 64K for now
|
||||
add_mmio_region(0xFE000000, 0x10000, this);
|
||||
this->add_mmio_region(0xFE000000, 0x10000, this);
|
||||
|
||||
// add memory mapped I/O region for MPC106 registers
|
||||
add_mmio_region(0xFEC00000, 0x300000, this);
|
||||
this->add_mmio_region(0xFEC00000, 0x300000, this);
|
||||
}
|
||||
|
||||
int MPC106::device_postinit()
|
||||
|
@@ -40,10 +40,10 @@ PlatinumCtrl::PlatinumCtrl() : MemCtrlBase(), VideoCtrlBase() {
|
||||
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
|
||||
|
||||
// add MMIO region for VRAM
|
||||
add_mmio_region(VRAM_REGION_BASE, 0x01000000, this);
|
||||
this->add_mmio_region(VRAM_REGION_BASE, 0x01000000, this);
|
||||
|
||||
// add MMIO region for the configuration and status registers
|
||||
add_mmio_region(PLATINUM_IOREG_BASE, 0x500, this);
|
||||
this->add_mmio_region(PLATINUM_IOREG_BASE, 0x500, this);
|
||||
|
||||
// get VRAM size
|
||||
this->vram_megs = GET_INT_PROP("gfxmem_size");
|
||||
|
@@ -35,7 +35,7 @@ PsxCtrl::PsxCtrl(int bridge_num, std::string name)
|
||||
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
|
||||
|
||||
// add MMIO region for the PSX control registers
|
||||
add_mmio_region(0xF8000000, 0x70, this);
|
||||
this->add_mmio_region(0xF8000000, 0x70, this);
|
||||
|
||||
this->sys_id = 0x10000000;
|
||||
this->chip_rev = 0; // old PSX, what's about PSX+?
|
||||
|
Reference in New Issue
Block a user