diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-11-10 17:43:24 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-01-09 12:44:14 -0800 |
| commit | bab3ff0157065a62f6d16cba3953690a43529b05 (patch) | |
| tree | a6dd960af8653ce69a479ce03772c849bdf38973 /Source/Core/Common/MsgHandler.cpp | |
| parent | 82acfa6a46120ea28d139fa5fe9db336d766c651 (diff) | |
Common/MsgHandler: Remove non-format variants of PanicAlert
They're no longer used.
Diffstat (limited to 'Source/Core/Common/MsgHandler.cpp')
| -rw-r--r-- | Source/Core/Common/MsgHandler.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/Core/Common/MsgHandler.cpp b/Source/Core/Common/MsgHandler.cpp index d26264763c..c455beb3ed 100644 --- a/Source/Core/Common/MsgHandler.cpp +++ b/Source/Core/Common/MsgHandler.cpp @@ -128,20 +128,6 @@ static bool ShowMessageAlert(std::string_view text, bool yes_no, MsgType style) } // This is the first stop for gui alerts where the log is updated and the -// correct window is shown, but only for legacy printf-style messages -bool MsgAlert(bool yes_no, MsgType style, const char* format, ...) -{ - char buffer[2048]; - - va_list args; - va_start(args, format); - CharArrayFromFormatV(buffer, sizeof(buffer) - 1, s_str_translator(format).c_str(), args); - va_end(args); - - return ShowMessageAlert(buffer, yes_no, style); -} - -// This is the first stop for gui alerts where the log is updated and the // correct window is shown, when using fmt bool MsgAlertFmtImpl(bool yes_no, MsgType style, fmt::string_view format, const fmt::format_args& args) |
