summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar bunnei2015-05-22 23:27:41 -0400
committerGravatar bunnei2015-05-22 23:27:41 -0400
commita7946f9027a87da93cd76ec46d54cadf4203b082 (patch)
tree01e98e937a3ed9d8c65b270df016658f8ae89a97 /src/video_core/debug_utils
parentMerge pull request #801 from purpasmart96/hid_stubs (diff)
parentPica: Create 'State' structure and move state memory there. (diff)
downloadyuzu-a7946f9027a87da93cd76ec46d54cadf4203b082.tar.gz
yuzu-a7946f9027a87da93cd76ec46d54cadf4203b082.tar.xz
yuzu-a7946f9027a87da93cd76ec46d54cadf4203b082.zip
Merge pull request #776 from bunnei/pica-state
GPU: Consolidate Pica state
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 9da44ccd6..7987b922c 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -632,7 +632,7 @@ void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data) {
632 info.width = texture_config.width; 632 info.width = texture_config.width;
633 info.height = texture_config.height; 633 info.height = texture_config.height;
634 info.stride = row_stride; 634 info.stride = row_stride;
635 info.format = registers.texture0_format; 635 info.format = g_state.regs.texture0_format;
636 Math::Vec4<u8> texture_color = LookupTexture(data, x, y, info); 636 Math::Vec4<u8> texture_color = LookupTexture(data, x, y, info);
637 buf[3 * x + y * row_stride ] = texture_color.r(); 637 buf[3 * x + y * row_stride ] = texture_color.r();
638 buf[3 * x + y * row_stride + 1] = texture_color.g(); 638 buf[3 * x + y * row_stride + 1] = texture_color.g();