diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-18 11:10:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 11:10:48 +0100 |
| commit | 4eecb8fd1100db51a118c220c8b6a61fd672fc42 (patch) | |
| tree | 5c08b8d1d92b0b676a0c064d2200e4d6f64d5af5 /Source/Core/VideoCommon/VideoBackendBase.cpp | |
| parent | eb1581bbcc30b79f51b736d2f31c9cb0489b1162 (diff) | |
| parent | 3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (diff) | |
Merge pull request #9248 from lioncash/video-fmt
VideoCommon: Migrate over to fmt
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index d90064bae3..20f4d116a6 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -10,7 +10,7 @@ #include <string> #include <vector> -#include "fmt/format.h" +#include <fmt/format.h> #include "Common/ChunkFile.h" #include "Common/CommonTypes.h" @@ -163,8 +163,9 @@ u16 VideoBackendBase::Video_GetBoundingBox(int index) static bool warn_once = true; if (warn_once) { - ERROR_LOG(VIDEO, "BBox shall be used but it is disabled. Please use a gameini to enable it " - "for this game."); + ERROR_LOG_FMT(VIDEO, + "BBox shall be used but it is disabled. Please use a gameini to enable it " + "for this game."); } warn_once = false; return 0; @@ -175,9 +176,10 @@ u16 VideoBackendBase::Video_GetBoundingBox(int index) static bool warn_once = true; if (warn_once) { - PanicAlertT("This game requires bounding box emulation to run properly but your graphics " - "card or its drivers do not support it. As a result you will experience bugs or " - "freezes while running this game."); + PanicAlertFmtT( + "This game requires bounding box emulation to run properly but your graphics " + "card or its drivers do not support it. As a result you will experience bugs or " + "freezes while running this game."); } warn_once = false; return 0; |
