diff options
author | Subv <subv2112@gmail.com> | 2016-04-19 21:08:02 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-28 20:52:49 +0200 |
commit | 660499ac01b9244301a0642f4a0209ef8309ace4 (patch) | |
tree | 372686ef656f18c9afdf80fb9599399b7b4d43e6 /src/core/mmio.h | |
parent | SOC_U: Remove usage of GetPointer (diff) | |
download | yuzu-660499ac01b9244301a0642f4a0209ef8309ace4.tar yuzu-660499ac01b9244301a0642f4a0209ef8309ace4.tar.gz yuzu-660499ac01b9244301a0642f4a0209ef8309ace4.tar.bz2 yuzu-660499ac01b9244301a0642f4a0209ef8309ace4.tar.lz yuzu-660499ac01b9244301a0642f4a0209ef8309ace4.tar.xz yuzu-660499ac01b9244301a0642f4a0209ef8309ace4.tar.zst yuzu-660499ac01b9244301a0642f4a0209ef8309ace4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/mmio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/mmio.h b/src/core/mmio.h index 35b73b061..d76f005d8 100644 --- a/src/core/mmio.h +++ b/src/core/mmio.h @@ -25,14 +25,14 @@ public: virtual u32 Read32(VAddr addr) = 0; virtual u64 Read64(VAddr addr) = 0; - virtual bool ReadBlock(VAddr src_addr, u8* dest_buffer, size_t size) = 0; + virtual bool ReadBlock(VAddr src_addr, void* dest_buffer, size_t size) = 0; virtual void Write8(VAddr addr, u8 data) = 0; virtual void Write16(VAddr addr, u16 data) = 0; virtual void Write32(VAddr addr, u32 data) = 0; virtual void Write64(VAddr addr, u64 data) = 0; - virtual bool WriteBlock(VAddr dest_addr, const u8* src_buffer, size_t size) = 0; + virtual bool WriteBlock(VAddr dest_addr, const void* src_buffer, size_t size) = 0; }; using MMIORegionPointer = std::shared_ptr<MMIORegion>; |