diff options
| author | 2015-05-09 15:57:29 +0200 | |
|---|---|---|
| committer | 2015-05-09 15:57:29 +0200 | |
| commit | e35e72d0a5c90c37d22328115fa0f29dd17aeaee (patch) | |
| tree | 4053db2c53a1ac77294c03782de75c91c0cf4b27 /src/citra_qt/debugger/graphics_framebuffer.cpp | |
| parent | Loader: Add missing include (diff) | |
| parent | Memory: Add GetPhysicalPointer helper function (diff) | |
| download | yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar.gz yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar.xz yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.zip | |
Merge pull request #734 from yuriks/memmap
Small memory map definitions cleanup
Diffstat (limited to 'src/citra_qt/debugger/graphics_framebuffer.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.cpp | 2 |
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 d621d7204..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() | |||
| 215 | u32 bytes_per_pixel = GraphicsFramebufferWidget::BytesPerPixel(framebuffer_format); | 215 | u32 bytes_per_pixel = GraphicsFramebufferWidget::BytesPerPixel(framebuffer_format); |
| 216 | 216 | ||
| 217 | QImage decoded_image(framebuffer_width, framebuffer_height, QImage::Format_ARGB32); | 217 | QImage decoded_image(framebuffer_width, framebuffer_height, QImage::Format_ARGB32); |
| 218 | u8* buffer = Memory::GetPointer(Pica::PAddrToVAddr(framebuffer_address)); | 218 | u8* buffer = Memory::GetPhysicalPointer(framebuffer_address); |
| 219 | 219 | ||
| 220 | for (unsigned int y = 0; y < framebuffer_height; ++y) { | 220 | for (unsigned int y = 0; y < framebuffer_height; ++y) { |
| 221 | for (unsigned int x = 0; x < framebuffer_width; ++x) { | 221 | for (unsigned int x = 0; x < framebuffer_width; ++x) { |