summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWCommandProcessor.h
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-02-16 19:30:10 +0100
committerPierre Bourdon <delroth@gmail.com>2014-02-16 19:30:10 +0100
commit2a7a94387ca0e096f698c0468307bfe6b1d365d7 (patch)
treec27d33a1b27de83d378708f9c966c1a1b8d16af5 /Source/Core/VideoBackends/Software/SWCommandProcessor.h
parent1e94853301b15fcce23db311f480b64d12ac4d41 (diff)
parent96a66ada2e11420aeaf90df37100d67796c0bdf5 (diff)
Merge pull request #69 from delroth/mmio-interface
Redesign of the MMIO access interface
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWCommandProcessor.h')
-rw-r--r--Source/Core/VideoBackends/Software/SWCommandProcessor.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/SWCommandProcessor.h b/Source/Core/VideoBackends/Software/SWCommandProcessor.h
index 043ff85d0e..92ca728230 100644
--- a/Source/Core/VideoBackends/Software/SWCommandProcessor.h
+++ b/Source/Core/VideoBackends/Software/SWCommandProcessor.h
@@ -7,6 +7,7 @@
#include "Common.h"
class PointerWrap;
+namespace MMIO { class Mapping; }
extern volatile bool g_bSkipCurrentFrame;
extern u8* g_pVideoData;
@@ -123,15 +124,11 @@ namespace SWCommandProcessor
void Shutdown();
void DoState(PointerWrap &p);
+ void RegisterMMIO(MMIO::Mapping* mmio, u32 base);
+
bool RunBuffer();
void RunGpu();
- // Read
- void Read16(u16& _rReturnValue, const u32 _Address);
- void Write16(const u16 _Data, const u32 _Address);
- void Read32(u32& _rReturnValue, const u32 _Address);
- void Write32(const u32 _Data, const u32 _Address);
-
// for CGPFIFO
void GatherPipeBursted();
void UpdateInterrupts(u64 userdata);