summaryrefslogtreecommitdiffstats
path: root/src/common/address_space.inc
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-06-30 02:36:39 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:54 +0200
commit11e1cbbdbde8269e7cdb0e150f25639223bdd3e6 (patch)
treec3e1c99cb4502c2c5f02af7eb601de6a358d7177 /src/common/address_space.inc
parentaddress_space: Address feedback (diff)
downloadyuzu-11e1cbbdbde8269e7cdb0e150f25639223bdd3e6.tar
yuzu-11e1cbbdbde8269e7cdb0e150f25639223bdd3e6.tar.gz
yuzu-11e1cbbdbde8269e7cdb0e150f25639223bdd3e6.tar.bz2
yuzu-11e1cbbdbde8269e7cdb0e150f25639223bdd3e6.tar.lz
yuzu-11e1cbbdbde8269e7cdb0e150f25639223bdd3e6.tar.xz
yuzu-11e1cbbdbde8269e7cdb0e150f25639223bdd3e6.tar.zst
yuzu-11e1cbbdbde8269e7cdb0e150f25639223bdd3e6.zip
Diffstat (limited to 'src/common/address_space.inc')
-rw-r--r--src/common/address_space.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/address_space.inc b/src/common/address_space.inc
index 3661b298e..9f957c81d 100644
--- a/src/common/address_space.inc
+++ b/src/common/address_space.inc
@@ -284,8 +284,8 @@ MAP_MEMBER(void)::UnmapLocked(VaType virt, VaType size) {
unmap_callback(virt, size);
}
-ALLOC_MEMBER_CONST()::FlatAllocator(VaType va_start_, VaType va_limit_)
- : Base{va_limit_}, va_start{va_start_}, current_linear_alloc_end{va_start_} {}
+ALLOC_MEMBER_CONST()::FlatAllocator(VaType virt_start_, VaType va_limit_)
+ : Base{va_limit_}, virt_start{virt_start_}, current_linear_alloc_end{virt_start_} {}
ALLOC_MEMBER(VaType)::Allocate(VaType size) {
std::scoped_lock lock(this->block_mutex);