summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FrameDump.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2019-11-28 15:03:23 -0800
committerGitHub <noreply@github.com>2019-11-28 15:03:23 -0800
commit4a0611df5472ea58af2f7960c8fc91db56c68d5f (patch)
tree3fc7a9c466cbecdaca0721e6e5d56869fd13ba4b /Source/Core/VideoCommon/FrameDump.cpp
parentb5656df7e8c397474a00e7f64822e56bcdf826b6 (diff)
parent6fbbc2683eeedf3767ea3d741c62555a30d3ff45 (diff)
Merge pull request #8487 from lioncash/video-fmt
VideoCommon: Make use of fmt outside of shader generators
Diffstat (limited to 'Source/Core/VideoCommon/FrameDump.cpp')
-rw-r--r--Source/Core/VideoCommon/FrameDump.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/FrameDump.cpp b/Source/Core/VideoCommon/FrameDump.cpp
index 9f845b3899..d01dacd751 100644
--- a/Source/Core/VideoCommon/FrameDump.cpp
+++ b/Source/Core/VideoCommon/FrameDump.cpp
@@ -9,6 +9,8 @@
#include <sstream>
#include <string>
+#include <fmt/format.h>
+
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
@@ -232,9 +234,7 @@ bool FrameDump::CreateVideoFile()
return false;
}
- OSD::AddMessage(
- StringFromFormat("Dumping Frames to \"%s\" (%dx%d)", dump_path.c_str(), s_width, s_height));
-
+ OSD::AddMessage(fmt::format("Dumping Frames to \"{}\" ({}x{})", dump_path, s_width, s_height));
return true;
}