From 6bbaf18e71fbdbe689bae1155224dac10f796847 Mon Sep 17 00:00:00 2001 From: DH Date: Sat, 5 Apr 2025 22:46:27 +0300 Subject: [PATCH] fix android build --- rpcs3/rpcs3/Emu/Cell/Modules/cellMic.cpp | 4 ++++ rpcs3/rpcs3/Emu/system_config.h | 1 + 2 files changed, 5 insertions(+) diff --git a/rpcs3/rpcs3/Emu/Cell/Modules/cellMic.cpp b/rpcs3/rpcs3/Emu/Cell/Modules/cellMic.cpp index cb8724f96..ffe0f73c5 100644 --- a/rpcs3/rpcs3/Emu/Cell/Modules/cellMic.cpp +++ b/rpcs3/rpcs3/Emu/Cell/Modules/cellMic.cpp @@ -87,7 +87,11 @@ template <> void fmt_class_string::format(std::string& out, u64 arg) { const fmt::alc_error& obj = get_object(arg); +#ifndef WITHOUT_OPENAL fmt::append(out, "0x%x='%s'", obj.error, alcGetString(obj.device, obj.error)); +#else + fmt::append(out, "0x%x", obj.error); +#endif } void mic_context::operator()() diff --git a/rpcs3/rpcs3/Emu/system_config.h b/rpcs3/rpcs3/Emu/system_config.h index 0bce8329a..1d87c799b 100644 --- a/rpcs3/rpcs3/Emu/system_config.h +++ b/rpcs3/rpcs3/Emu/system_config.h @@ -1,5 +1,6 @@ #pragma once +#include "Utilities/Thread.h" #include "system_config_types.h" #include "Utilities/Config.h" #include