From 43c79a0c07d167c58793a7f00561b49f85b546d2 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Tue, 29 May 2001 07:38:22 +0000 Subject: [PATCH] - added missing BX_PCI_THIS in several places --- bochs/iodev/pci.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bochs/iodev/pci.cc b/bochs/iodev/pci.cc index 903742d16..9a0bbcea9 100644 --- a/bochs/iodev/pci.cc +++ b/bochs/iodev/pci.cc @@ -397,15 +397,15 @@ bx_pci_c::i440fx_fetch_ptr(Bit32u addr) if (bx_options.i440FXSupport) { switch (rd_memType (addr)) { case 0x0: // Read from ShadowRAM - return (&devices->mem->vector[addr]); + return (&BX_PCI_THIS devices->mem->vector[addr]); case 0x1: // Read from ROM - return (&s.i440fx.shadow[(addr - 0xc0000)]); + return (&BX_PCI_THIS s.i440fx.shadow[(addr - 0xc0000)]); default: BX_PANIC(("i440fx_fetch_ptr(): default case\n")); return(0); } } else - return (&devices->mem->vector[addr]); + return (&BX_PCI_THIS devices->mem->vector[addr]); }