From 3f076d63e331c527f8477399ceca6ffe9b38d09c Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 22 Jan 2020 22:45:47 +0100 Subject: [PATCH] HLE: add error checks to cellAudioInGetDeviceInfo --- rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp b/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp index f8952bb186..95acc734d7 100644 --- a/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp +++ b/rpcs3/Emu/Cell/Modules/cellAvconfExt.cpp @@ -170,6 +170,11 @@ error_code cellAudioInGetDeviceInfo(u32 deviceNumber, u32 deviceIndex, vm::ptrget(); if (deviceNumber >= av_manager->devices.size())