MMIO: Port the VideoCommon CP MMIOs to the new interface (and provide framework for other video related mappings).

This commit is contained in:
Pierre Bourdon
2014-02-02 14:16:43 +01:00
parent bdedaa24a9
commit 4129b30494
9 changed files with 222 additions and 289 deletions

View File

@ -311,6 +311,16 @@ void VideoBackendHardware::Video_AbortFrame()
CommandProcessor::AbortFrame();
}
void VideoBackendHardware::RegisterCPMMIO(MMIO::Mapping* mmio, u32 base)
{
CommandProcessor::RegisterMMIO(mmio, base);
}
void VideoBackendHardware::RegisterPEMMIO(MMIO::Mapping* mmio, u32 base)
{
PixelEngine::RegisterMMIO(mmio, base);
}
readFn16 VideoBackendHardware::Video_CPRead16()
{
return CommandProcessor::Read16;