summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-15 03:23:35 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-16 19:22:40 +0100
commit92f8d93e969abf942002439ef583d2a25acad019 (patch)
treea39b5dd9457eb3248b5c7970b7715fac5f5cb602 /Source/Core/VideoCommon/PixelEngine.cpp
parentf8f14c83a393b6fac61d2420b56f9ce65ea8f034 (diff)
Remove the old MMIO access "interface".
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelEngine.cpp24
1 files changed, 6 insertions, 18 deletions
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