Add missing this.

This commit is contained in:
joevt
2025-03-10 05:31:06 -07:00
committed by dingusdev
parent baa36cf571
commit 3da972ddc9
6 changed files with 8 additions and 8 deletions

View File

@@ -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() {

View File

@@ -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)

View File

@@ -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;

View File

@@ -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()

View File

@@ -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");

View File

@@ -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+?