From bfc51b896797826e1599175bbfb1642f31235212 Mon Sep 17 00:00:00 2001 From: joevt Date: Sun, 1 Sep 2024 04:02:11 -0700 Subject: [PATCH] heathrow: Add missing this. --- devices/ioctrl/heathrow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/ioctrl/heathrow.cpp b/devices/ioctrl/heathrow.cpp index d61bd9c..045bdda 100644 --- a/devices/ioctrl/heathrow.cpp +++ b/devices/ioctrl/heathrow.cpp @@ -240,10 +240,10 @@ void HeathrowIC::write(uint32_t rgn_start, uint32_t offset, uint32_t value, int switch (sub_addr) { case 0: - mio_ctrl_write(offset, value, size); + this->mio_ctrl_write(offset, value, size); break; case 8: - dma_write(offset - 0x8000, value, size); + this->dma_write(offset & 0x7FFF, value, size); break; case 0x10: // SCSI this->mesh->write((offset >> 4) & 0xF, value);