summaryrefslogtreecommitdiffstats
path: root/src/common/host_memory.h
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2021-06-05 11:47:08 +0200
committerMarkus Wick <markus@selfnet.de>2021-06-11 17:27:06 +0200
commitc4609c92eea30558473f02082733c7e59c2d2013 (patch)
tree892e5381d772333548b827f9b0b728907bb68cc6 /src/common/host_memory.h
parentcore: Make use of fastmem (diff)
downloadyuzu-c4609c92eea30558473f02082733c7e59c2d2013.tar
yuzu-c4609c92eea30558473f02082733c7e59c2d2013.tar.gz
yuzu-c4609c92eea30558473f02082733c7e59c2d2013.tar.bz2
yuzu-c4609c92eea30558473f02082733c7e59c2d2013.tar.lz
yuzu-c4609c92eea30558473f02082733c7e59c2d2013.tar.xz
yuzu-c4609c92eea30558473f02082733c7e59c2d2013.tar.zst
yuzu-c4609c92eea30558473f02082733c7e59c2d2013.zip
Diffstat (limited to '')
-rw-r--r--src/common/host_memory.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/host_memory.h b/src/common/host_memory.h
index 98005df7a..eaa7d18ab 100644
--- a/src/common/host_memory.h
+++ b/src/common/host_memory.h
@@ -15,7 +15,7 @@ namespace Common {
*/
class HostMemory {
public:
- explicit HostMemory(size_t backing_size, size_t virtual_size);
+ explicit HostMemory(size_t backing_size_, size_t virtual_size_);
~HostMemory();
/**
@@ -52,11 +52,15 @@ public:
}
private:
+ size_t backing_size{};
+ size_t virtual_size{};
+
// Low level handler for the platform dependent memory routines
class Impl;
std::unique_ptr<Impl> impl;
u8* backing_base{};
u8* virtual_base{};
+ size_t virtual_base_offset{};
};
} // namespace Common