summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2016-11-22 19:17:28 +0100
committerwwylele <wwylele@gmail.com>2016-11-22 19:17:28 +0100
commit75affa13f7611f6bd74d9471a93b4cfdf2b46e85 (patch)
tree818ef715140e66244d89e013ab46fc74366fdd65
parentMerge pull request #2206 from freiro/SDL_Audio_Error (diff)
downloadyuzu-75affa13f7611f6bd74d9471a93b4cfdf2b46e85.tar
yuzu-75affa13f7611f6bd74d9471a93b4cfdf2b46e85.tar.gz
yuzu-75affa13f7611f6bd74d9471a93b4cfdf2b46e85.tar.bz2
yuzu-75affa13f7611f6bd74d9471a93b4cfdf2b46e85.tar.lz
yuzu-75affa13f7611f6bd74d9471a93b4cfdf2b46e85.tar.xz
yuzu-75affa13f7611f6bd74d9471a93b4cfdf2b46e85.tar.zst
yuzu-75affa13f7611f6bd74d9471a93b4cfdf2b46e85.zip
-rw-r--r--src/video_core/command_processor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 45585fe30..6bd5b281c 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -224,7 +224,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) {
u8* texture_data = Memory::GetPhysicalPointer(texture.config.GetPhysicalAddress());
g_debug_context->recorder->MemoryAccessed(
texture_data, Pica::Regs::NibblesPerPixel(texture.format) *
- texture.config.width / 2 * texture.config.height,
+ texture.config.width / 2 * texture.config.height,
texture.config.GetPhysicalAddress());
}
}