summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-04 05:17:35 +0100
committerbunnei <bunneidev@gmail.com>2019-03-21 03:36:02 +0100
commit241563d15c8b831a2d2b7c360d570cc721903d14 (patch)
treef43f13d6af3b9b7e2cc92d241d7aabc490ee6ef0 /src/core/hle/service
parentMerge pull request #2272 from lioncash/boost (diff)
downloadyuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar
yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.gz
yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.bz2
yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.lz
yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.xz
yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.tar.zst
yuzu-241563d15c8b831a2d2b7c360d570cc721903d14.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp4
1 files changed, 2 insertions, 2 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 b031ebc66..b7964d66e 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
@@ -89,7 +89,7 @@ u32 nvhost_as_gpu::Remap(const std::vector<u8>& input, std::vector<u8>& output)
for (const auto& entry : entries) {
LOG_WARNING(Service_NVDRV, "remap entry, offset=0x{:X} handle=0x{:X} pages=0x{:X}",
entry.offset, entry.nvmap_handle, entry.pages);
- Tegra::GPUVAddr offset = static_cast<Tegra::GPUVAddr>(entry.offset) << 0x10;
+ GPUVAddr offset = static_cast<GPUVAddr>(entry.offset) << 0x10;
auto object = nvmap_dev->GetObject(entry.nvmap_handle);
if (!object) {
LOG_CRITICAL(Service_NVDRV, "nvmap {} is an invalid handle!", entry.nvmap_handle);
@@ -102,7 +102,7 @@ u32 nvhost_as_gpu::Remap(const std::vector<u8>& input, std::vector<u8>& output)
u64 size = static_cast<u64>(entry.pages) << 0x10;
ASSERT(size <= object->size);
- Tegra::GPUVAddr returned = gpu.MemoryManager().MapBufferEx(object->addr, offset, size);
+ GPUVAddr returned = gpu.MemoryManager().MapBufferEx(object->addr, offset, size);
ASSERT(returned == offset);
}
std::memcpy(output.data(), entries.data(), output.size());