summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar Tony Wasserka2014-12-15 21:28:45 +0100
committerGravatar Tony Wasserka2014-12-20 18:06:53 +0100
commit40f123b7c0eaf1507d51f6b87192ec2f956e5d5e (patch)
tree7f87847435d510ed0e70a10cd67129a3b2511335 /src/video_core/debug_utils
parentPica: Further improve Tev emulation. (diff)
downloadyuzu-40f123b7c0eaf1507d51f6b87192ec2f956e5d5e.tar.gz
yuzu-40f123b7c0eaf1507d51f6b87192ec2f956e5d5e.tar.xz
yuzu-40f123b7c0eaf1507d51f6b87192ec2f956e5d5e.zip
Pica: Unify ugly address translation hacks.
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
-rw-r--r--src/video_core/debug_utils/debug_utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 3cc22f436..08ecd4ccb 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -455,7 +455,7 @@ TextureInfo TextureInfo::FromPicaRegister(const Regs::TextureConfig& config,
455 const Regs::TextureFormat& format) 455 const Regs::TextureFormat& format)
456{ 456{
457 TextureInfo info; 457 TextureInfo info;
458 info.address = config.GetPhysicalAddress(); 458 info.physical_address = config.GetPhysicalAddress();
459 info.width = config.width; 459 info.width = config.width;
460 info.height = config.height; 460 info.height = config.height;
461 info.format = format; 461 info.format = format;
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h
index f950356f3..2a764e121 100644
--- a/src/video_core/debug_utils/debug_utils.h
+++ b/src/video_core/debug_utils/debug_utils.h
@@ -192,7 +192,7 @@ void OnPicaRegWrite(u32 id, u32 value);
192std::unique_ptr<PicaTrace> FinishPicaTracing(); 192std::unique_ptr<PicaTrace> FinishPicaTracing();
193 193
194struct TextureInfo { 194struct TextureInfo {
195 unsigned int address; 195 PAddr physical_address;
196 int width; 196 int width;
197 int height; 197 int height;
198 int stride; 198 int stride;