summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Image.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-01-09 22:27:18 +0100
committerGitHub <noreply@github.com>2022-01-09 22:27:18 +0100
commit3da64875314e2a1743b8d6453403ef85e8b45eb4 (patch)
treee97af4fd1e5319cb74567f7c434d5084d9e1c4a5 /Source/Core/Common/Image.cpp
parent36d605715d4045d6a556b4234d1d925f79c5eea3 (diff)
parentca9bf3174f4acd4c9d78ac7c21b6aeaa1430b7ef (diff)
Merge pull request #10209 from Pokechu22/assert-fmt
Assertion and panic alert improvements
Diffstat (limited to 'Source/Core/Common/Image.cpp')
-rw-r--r--Source/Core/Common/Image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Image.cpp b/Source/Core/Common/Image.cpp
index 54efcf5e6d..499632718a 100644
--- a/Source/Core/Common/Image.cpp
+++ b/Source/Core/Common/Image.cpp
@@ -80,7 +80,7 @@ bool SavePNG(const std::string& path, const u8* input, ImageByteFormat format, u
byte_per_pixel = 4;
break;
default:
- ASSERT_MSG(FRAMEDUMP, false, "Invalid format %d", static_cast<int>(format));
+ ASSERT_MSG(FRAMEDUMP, false, "Invalid format {}", format);
return false;
}