summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Morph2022-06-29 20:33:04 -0400
committerGravatar Fernando Sahmkow2022-10-06 21:00:54 +0200
commitfa342cae227666c861806b9bf63e4286aff1e4d7 (patch)
treedb567b3031a00dda907fccb5fd3d46744a4bb9b8 /src/core
parentgeneral: Format licenses as per SPDX guidelines (diff)
downloadyuzu-fa342cae227666c861806b9bf63e4286aff1e4d7.tar.gz
yuzu-fa342cae227666c861806b9bf63e4286aff1e4d7.tar.xz
yuzu-fa342cae227666c861806b9bf63e4286aff1e4d7.zip
address_space: Address feedback
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
index b48f7fcaf..7a95f5305 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
@@ -472,16 +472,16 @@ void nvhost_as_gpu::GetVARegionsImpl(IoctlGetVaRegions& params) {
472 472
473 params.regions = std::array<VaRegion, 2>{ 473 params.regions = std::array<VaRegion, 2>{
474 VaRegion{ 474 VaRegion{
475 .offset = vm.small_page_allocator->vaStart << VM::PAGE_SIZE_BITS, 475 .offset = vm.small_page_allocator->GetVAStart() << VM::PAGE_SIZE_BITS,
476 .page_size = VM::YUZU_PAGESIZE, 476 .page_size = VM::YUZU_PAGESIZE,
477 ._pad0_{}, 477 ._pad0_{},
478 .pages = vm.small_page_allocator->vaLimit - vm.small_page_allocator->vaStart, 478 .pages = vm.small_page_allocator->GetVALimit() - vm.small_page_allocator->GetVAStart(),
479 }, 479 },
480 VaRegion{ 480 VaRegion{
481 .offset = vm.big_page_allocator->vaStart << vm.big_page_size_bits, 481 .offset = vm.big_page_allocator->GetVAStart() << vm.big_page_size_bits,
482 .page_size = vm.big_page_size, 482 .page_size = vm.big_page_size,
483 ._pad0_{}, 483 ._pad0_{},
484 .pages = vm.big_page_allocator->vaLimit - vm.big_page_allocator->vaStart, 484 .pages = vm.big_page_allocator->GetVALimit() - vm.big_page_allocator->GetVAStart(),
485 }, 485 },
486 }; 486 };
487} 487}