summaryrefslogtreecommitdiffstats
path: root/src/common/address_space.inc
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-06-16 02:12:21 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:53 +0200
commitfe24c65153349d3a759a2eef02ec703851a96847 (patch)
tree68148597dbb554d427ce43a660c88c28fc9545bb /src/common/address_space.inc
parentCommon: Fix variable shadowing. (diff)
downloadyuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.gz
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.bz2
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.lz
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.xz
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.tar.zst
yuzu-fe24c65153349d3a759a2eef02ec703851a96847.zip
Diffstat (limited to '')
-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 e1241d099..7cfbb150b 100644
--- a/src/common/address_space.inc
+++ b/src/common/address_space.inc
@@ -261,8 +261,8 @@ MAP_MEMBER(void)::UnmapLocked(VaType virt, VaType size) {
unmapCallback(virt, size);
}
-ALLOC_MEMBER_CONST()::FlatAllocator(VaType vaStart_, VaType vaLimit)
- : Base(vaLimit), currentLinearAllocEnd(vaStart_), vaStart(vaStart_) {}
+ALLOC_MEMBER_CONST()::FlatAllocator(VaType vaStart_, VaType vaLimit_)
+ : Base(vaLimit_), currentLinearAllocEnd(vaStart_), vaStart(vaStart_) {}
ALLOC_MEMBER(VaType)::Allocate(VaType size) {
std::scoped_lock lock(this->blockMutex);