mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
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.
This commit is contained in:
parent
9b03cdf93e
commit
56d233c47c
2 changed files with 13 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue