diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp | 8 |
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 | } |