From 943368912b08de50ae9cf322f35ba24321d7d940 Mon Sep 17 00:00:00 2001 From: Eladash Date: Fri, 31 Jan 2020 22:15:41 +0200 Subject: [PATCH] Hotfix after #7351 --- rpcs3/Emu/Audio/AL/OpenALBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Audio/AL/OpenALBackend.cpp b/rpcs3/Emu/Audio/AL/OpenALBackend.cpp index 9780d0a7a5..4a80d978cd 100644 --- a/rpcs3/Emu/Audio/AL/OpenALBackend.cpp +++ b/rpcs3/Emu/Audio/AL/OpenALBackend.cpp @@ -10,7 +10,7 @@ LOG_CHANNEL(OpenAL); #define checkForAlError(sit) do { ALenum g_last_al_error = alGetError(); if(g_last_al_error != AL_NO_ERROR) OpenAL.error("%s: OpenAL error 0x%04x", sit, g_last_al_error); } while(0) -#define checkForAlcError(sit) do { ALCenum g_last_alc_error = alcGetError(m_device); if(g_last_alc_error != ALC_NO_ERROR) OpenAL.error("%s: OpenALC error 0x%04x", sit, g_last_alc_error); return; } while(0) +#define checkForAlcError(sit) do { ALCenum g_last_alc_error = alcGetError(m_device); if(g_last_alc_error != ALC_NO_ERROR) { OpenAL.error("%s: OpenALC error 0x%04x", sit, g_last_alc_error); return; }} while(0) OpenALBackend::OpenALBackend() : m_sampling_rate(get_sampling_rate())