mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
MMIO: Port the VideoCommon CP MMIOs to the new interface (and provide framework for other video related mappings).
This commit is contained in:
@ -360,6 +360,16 @@ void VideoSoftware::Video_AbortFrame(void)
|
||||
{
|
||||
}
|
||||
|
||||
void VideoSoftware::RegisterCPMMIO(MMIO::Mapping* mmio, u32 base)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void VideoSoftware::RegisterPEMMIO(MMIO::Mapping* mmio, u32 base)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
readFn16 VideoSoftware::Video_CPRead16()
|
||||
{
|
||||
return SWCommandProcessor::Read16;
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
#include "VideoBackendBase.h"
|
||||
|
||||
namespace MMIO { class Mapping; }
|
||||
|
||||
namespace SW
|
||||
{
|
||||
|
||||
@ -44,6 +46,9 @@ class VideoSoftware : public VideoBackend
|
||||
bool Video_IsPossibleWaitingSetDrawDone() override;
|
||||
void Video_AbortFrame() override;
|
||||
|
||||
void RegisterCPMMIO(MMIO::Mapping* mmio, u32 base) override;
|
||||
void RegisterPEMMIO(MMIO::Mapping* mmio, u32 base) override;
|
||||
|
||||
readFn16 Video_CPRead16() override;
|
||||
writeFn16 Video_CPWrite16() override;
|
||||
readFn16 Video_PERead16() override;
|
||||
|
Reference in New Issue
Block a user