summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scire <SciresM@gmail.com>2019-07-07 22:02:41 +0200
committerMichael Scire <SciresM@gmail.com>2019-07-07 22:02:41 +0200
commitca6f08e3b1df011075bf4564bbb61d4cdf9a7737 (patch)
treeedb82147ad613192ab283ae9ed1b00ea49cef9a2
parentphysmem: add helpers, cleanup logic. (diff)
downloadyuzu-ca6f08e3b1df011075bf4564bbb61d4cdf9a7737.tar
yuzu-ca6f08e3b1df011075bf4564bbb61d4cdf9a7737.tar.gz
yuzu-ca6f08e3b1df011075bf4564bbb61d4cdf9a7737.tar.bz2
yuzu-ca6f08e3b1df011075bf4564bbb61d4cdf9a7737.tar.lz
yuzu-ca6f08e3b1df011075bf4564bbb61d4cdf9a7737.tar.xz
yuzu-ca6f08e3b1df011075bf4564bbb61d4cdf9a7737.tar.zst
yuzu-ca6f08e3b1df011075bf4564bbb61d4cdf9a7737.zip
-rw-r--r--src/core/hle/kernel/vm_manager.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h
index 5b27548aa..0aecb7499 100644
--- a/src/core/hle/kernel/vm_manager.h
+++ b/src/core/hle/kernel/vm_manager.h
@@ -303,15 +303,6 @@ struct VirtualMemoryArea {
PAddr paddr = 0;
Common::MemoryHookPointer mmio_handler = nullptr;
- /// If the address lies within this VMA, returns the size left before the
- /// end of this VMA. If the given address doesn't lie within the VMA, then
- /// an empty optional value is returned.
- ///
- /// For example, given a VMA 100 bytes long. If '10' was given as the
- /// start address, then this would return 90.
- ///
- std::optional<u64> SizeRemainingFromAddress(VAddr address) const;
-
/// Tests if this area can be merged to the right with `next`.
bool CanBeMergedWith(const VirtualMemoryArea& next) const;
};