From 92f8d93e969abf942002439ef583d2a25acad019 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sat, 15 Feb 2014 03:23:35 +0100 Subject: Remove the old MMIO access "interface". --- Source/Core/VideoCommon/PixelEngine.cpp | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'Source/Core/VideoCommon/PixelEngine.cpp') diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 98f39f6ff3..9a5137a60e 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -253,24 +253,6 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) } } -void Read16(u16& _uReturnValue, const u32 _iAddress) -{ - // HACK: Remove this function when the new MMIO interface is used. - Memory::mmio_mapping->Read(_iAddress, _uReturnValue); -} - -void Write16(const u16 _iValue, const u32 _iAddress) -{ - // HACK: Remove this function when the new MMIO interface is used. - Memory::mmio_mapping->Write(_iAddress, _iValue); -} - -void Write32(const u32 _iValue, const u32 _iAddress) -{ - // HACK: Remove this function when the new MMIO interface is used. - Memory::mmio_mapping->Write(_iAddress, _iValue); -} - bool AllowIdleSkipping() { return !SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread || (!m_Control.PETokenEnable && !m_Control.PEFinishEnable); @@ -377,4 +359,10 @@ void ResetSetToken() } CommandProcessor::interruptTokenWaiting = false; } + +UPEAlphaReadReg GetAlphaReadMode() +{ + return m_AlphaRead; +} + } // end of namespace PixelEngine -- cgit v1.2.3