From 6165bd68c06d5aec98187dd089bb5b690aa4f42f Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Thu, 22 Aug 2019 03:52:47 +0300 Subject: [PATCH] Use g_fxo for avconf_manager --- rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp b/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp index 8418c646c3..216ab99fd1 100644 --- a/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp +++ b/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp @@ -149,7 +149,7 @@ s32 cellAudioInGetDeviceInfo(u32 deviceNumber, u32 deviceIndex, vm::ptr(); + auto av_manager = g_fxo->get(); if (deviceNumber >= av_manager->devices.size()) return CELL_AUDIO_OUT_ERROR_DEVICE_NOT_FOUND; @@ -190,7 +190,7 @@ s32 cellAudioInGetAvailableDeviceInfo(u32 count, vm::ptr return CELL_AUDIO_IN_ERROR_ILLEGAL_PARAMETER; } - auto av_manager = fxm::get_always(); + auto av_manager = g_fxo->get(); u32 num_devices_returned = std::min(count, (u32)av_manager->devices.size());