diff options
Diffstat (limited to 'src/video_core/debug_utils')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 4 | ||||
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 22b8e9950..275b06b7c 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp | |||
| @@ -318,9 +318,9 @@ void DumpTexture(const Pica::Regs::TextureConfig& texture_config, u8* data) { | |||
| 318 | return; | 318 | return; |
| 319 | 319 | ||
| 320 | #ifndef HAVE_PNG | 320 | #ifndef HAVE_PNG |
| 321 | return; | 321 | return; |
| 322 | #else | 322 | #else |
| 323 | if (!data) | 323 | if (!data) |
| 324 | return; | 324 | return; |
| 325 | 325 | ||
| 326 | // Write data to file | 326 | // Write data to file |
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 8b1499bf2..b1558cfae 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h | |||
| @@ -41,7 +41,7 @@ void DumpShader(const u32* binary_data, u32 binary_size, const u32* swizzle_data | |||
| 41 | // Utility class to log Pica commands. | 41 | // Utility class to log Pica commands. |
| 42 | struct PicaTrace { | 42 | struct PicaTrace { |
| 43 | struct Write : public std::pair<u32,u32> { | 43 | struct Write : public std::pair<u32,u32> { |
| 44 | Write(u32 id, u32 value) : std::pair<u32,u32>(id, value) {} | 44 | Write(u32 id, u32 value) : std::pair<u32,u32>(id, value) {} |
| 45 | 45 | ||
| 46 | u32& Id() { return first; } | 46 | u32& Id() { return first; } |
| 47 | const u32& Id() const { return first; } | 47 | const u32& Id() const { return first; } |