mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
Remove the old MMIO access "interface".
This commit is contained in:
parent
f8f14c83a3
commit
92f8d93e96
43 changed files with 12 additions and 903 deletions
|
@ -12,10 +12,6 @@
|
|||
|
||||
namespace MMIO { class Mapping; }
|
||||
|
||||
typedef void (*writeFn16)(const u16,const u32);
|
||||
typedef void (*writeFn32)(const u32,const u32);
|
||||
typedef void (*readFn16)(u16&, const u32);
|
||||
|
||||
|
||||
enum FieldType
|
||||
{
|
||||
|
@ -116,13 +112,6 @@ public:
|
|||
virtual void RegisterCPMMIO(MMIO::Mapping* mmio, u32 base) = 0;
|
||||
virtual void RegisterPEMMIO(MMIO::Mapping* mmio, u32 base) = 0;
|
||||
|
||||
// HACK: Remove these functions when the new MMIO interface is used.
|
||||
virtual readFn16 Video_CPRead16() = 0;
|
||||
virtual writeFn16 Video_CPWrite16() = 0;
|
||||
virtual readFn16 Video_PERead16() = 0;
|
||||
virtual writeFn16 Video_PEWrite16() = 0;
|
||||
virtual writeFn32 Video_PEWrite32() = 0;
|
||||
|
||||
static void PopulateList();
|
||||
static void ClearList();
|
||||
static void ActivateBackend(const std::string& name);
|
||||
|
@ -172,12 +161,6 @@ class VideoBackendHardware : public VideoBackend
|
|||
void RegisterCPMMIO(MMIO::Mapping* mmio, u32 base) override;
|
||||
void RegisterPEMMIO(MMIO::Mapping* mmio, u32 base) override;
|
||||
|
||||
readFn16 Video_CPRead16();
|
||||
writeFn16 Video_CPWrite16();
|
||||
readFn16 Video_PERead16();
|
||||
writeFn16 Video_PEWrite16();
|
||||
writeFn32 Video_PEWrite32();
|
||||
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock=true);
|
||||
void DoState(PointerWrap &p);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue