$OpenBSD: patch-SrcShared_Hardware_EmRegsEZTRGpro_cpp,v 1.1 2010/08/03 20:01:40 naddy Exp $ --- SrcShared/Hardware/EmRegsEZTRGpro.cpp.orig Tue Aug 3 13:49:41 2010 +++ SrcShared/Hardware/EmRegsEZTRGpro.cpp Tue Aug 3 13:50:32 2010 @@ -229,7 +229,7 @@ void EmRegsEZTRGpro::spiWrite(emuptr address, int size void EmRegsEZTRGpro::SetSubBankHandlers(void) { EmRegsEZ::SetSubBankHandlers(); - this->SetHandler((ReadFunction)&EmRegs::StdRead, + this->SetHandler((ReadFunction)&EmRegsEZTRGpro::StdRead, (WriteFunction)&EmRegsEZTRGpro::spiWrite, addressof(spiMasterData), sizeof(f68EZ328Regs.spiMasterData));