diff options
author | Lioncash <mathew1800@gmail.com> | 2016-03-09 03:31:41 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2016-03-09 03:31:44 +0100 |
commit | bf76afc68d3501e1f8c9a1460aac74438e1c64af (patch) | |
tree | 2e34d009e02b87c927d047ab831f771ed126fa75 /src/core/hle/service/gsp_gpu.cpp | |
parent | Merge pull request #1441 from MerryMage/dsp-pipes (diff) | |
download | yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.gz yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.bz2 yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.lz yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.xz yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.zst yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/gsp_gpu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/gsp_gpu.cpp b/src/core/hle/service/gsp_gpu.cpp index 5838b6d71..3d705821d 100644 --- a/src/core/hle/service/gsp_gpu.cpp +++ b/src/core/hle/service/gsp_gpu.cpp @@ -275,7 +275,7 @@ static void FlushDataCache(Service::Interface* self) { u32 size = cmd_buff[2]; u32 process = cmd_buff[4]; - VideoCore::g_renderer->rasterizer->InvalidateRegion(Memory::VirtualToPhysicalAddress(address), size); + VideoCore::g_renderer->Rasterizer()->InvalidateRegion(Memory::VirtualToPhysicalAddress(address), size); // TODO(purpasmart96): Verify return header on HW @@ -365,7 +365,7 @@ static void ExecuteCommand(const Command& command, u32 thread_id) { // GX request DMA - typically used for copying memory from GSP heap to VRAM case CommandId::REQUEST_DMA: - VideoCore::g_renderer->rasterizer->FlushRegion(Memory::VirtualToPhysicalAddress(command.dma_request.source_address), + VideoCore::g_renderer->Rasterizer()->FlushRegion(Memory::VirtualToPhysicalAddress(command.dma_request.source_address), command.dma_request.size); memcpy(Memory::GetPointer(command.dma_request.dest_address), @@ -373,7 +373,7 @@ static void ExecuteCommand(const Command& command, u32 thread_id) { command.dma_request.size); SignalInterrupt(InterruptId::DMA); - VideoCore::g_renderer->rasterizer->InvalidateRegion(Memory::VirtualToPhysicalAddress(command.dma_request.dest_address), + VideoCore::g_renderer->Rasterizer()->InvalidateRegion(Memory::VirtualToPhysicalAddress(command.dma_request.dest_address), command.dma_request.size); break; @@ -467,7 +467,7 @@ static void ExecuteCommand(const Command& command, u32 thread_id) { if (region.size == 0) break; - VideoCore::g_renderer->rasterizer->InvalidateRegion( + VideoCore::g_renderer->Rasterizer()->InvalidateRegion( Memory::VirtualToPhysicalAddress(region.address), region.size); } break; |