summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-26 21:36:49 -0500
committerLioncash <mathew1800@gmail.com>2020-11-27 10:10:11 -0500
commit56d233c47cde87ae36204f150b40220f9141f1b9 (patch)
tree32a3cadf76b01ff3ea2532fdd3ade54d79d409f0 /Source/Core/AudioCommon/OpenALStream.cpp
parent9b03cdf93eec36ac10e95d1ff494ae41441e084e (diff)
AudioCommon: Convert alerts over to fmt-based variants
Continues the migration over to fmt Converts two panic alerts into error logs, since they aren't really things a user can do anything about.
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp
index ae04cab0b9..ed38b1e3e2 100644
--- a/Source/Core/AudioCommon/OpenALStream.cpp
+++ b/Source/Core/AudioCommon/OpenALStream.cpp
@@ -96,7 +96,7 @@ bool OpenALStream::Init()
{
if (!palcIsExtensionPresent(nullptr, "ALC_ENUMERATION_EXT"))
{
- PanicAlertT("OpenAL: can't find sound devices");
+ PanicAlertFmtT("OpenAL: can't find sound devices");
return false;
}
@@ -106,7 +106,7 @@ bool OpenALStream::Init()
ALCdevice* device = palcOpenDevice(default_device_dame);
if (!device)
{
- PanicAlertT("OpenAL: can't open device %s", default_device_dame);
+ PanicAlertFmtT("OpenAL: can't open device {0}", default_device_dame);
return false;
}
@@ -114,7 +114,7 @@ bool OpenALStream::Init()
if (!context)
{
palcCloseDevice(device);
- PanicAlertT("OpenAL: can't create context for device %s", default_device_dame);
+ PanicAlertFmtT("OpenAL: can't create context for device {0}", default_device_dame);
return false;
}