summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics_framebuffer.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-09 09:02:32 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-09 09:02:32 +0200
commit17a8cae0038b82202149bad687823b89074aa696 (patch)
tree02970a9b2368551c4af31e4138db1b6ded6d018c /src/citra_qt/debugger/graphics_framebuffer.cpp
parentMemory: Support more regions in the VAddr-PAddr translation functions (diff)
downloadyuzu-17a8cae0038b82202149bad687823b89074aa696.tar
yuzu-17a8cae0038b82202149bad687823b89074aa696.tar.gz
yuzu-17a8cae0038b82202149bad687823b89074aa696.tar.bz2
yuzu-17a8cae0038b82202149bad687823b89074aa696.tar.lz
yuzu-17a8cae0038b82202149bad687823b89074aa696.tar.xz
yuzu-17a8cae0038b82202149bad687823b89074aa696.tar.zst
yuzu-17a8cae0038b82202149bad687823b89074aa696.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/debugger/graphics_framebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp
index fa101a6a2..3287b4706 100644
--- a/src/citra_qt/debugger/graphics_framebuffer.cpp
+++ b/src/citra_qt/debugger/graphics_framebuffer.cpp
@@ -215,7 +215,7 @@ void GraphicsFramebufferWidget::OnUpdate()
u32 bytes_per_pixel = GraphicsFramebufferWidget::BytesPerPixel(framebuffer_format);
QImage decoded_image(framebuffer_width, framebuffer_height, QImage::Format_ARGB32);
- u8* buffer = Memory::GetPointer(Memory::PhysicalToVirtualAddress(framebuffer_address));
+ u8* buffer = Memory::GetPhysicalPointer(framebuffer_address);
for (unsigned int y = 0; y < framebuffer_height; ++y) {
for (unsigned int x = 0; x < framebuffer_width; ++x) {