From e63245a6dc41128d17bd6bd0982e7e294842319f Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 12 Apr 2024 20:45:00 +0200 Subject: [PATCH] Fix callback_func check for CELL_SYSUTIL_AVC2_VIDEO_CHAT This mode doesn't allow for the callback --- rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp b/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp index 387d863781..0fc3497c8e 100644 --- a/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSysutilAvc2.cpp @@ -776,7 +776,7 @@ error_code cellSysutilAvc2Load_shared(SceNpMatching2ContextId ctx_id, u32 contai } } - if (!callback_func) + if (callback_func) { return CELL_AVC2_ERROR_INVALID_ARGUMENT; }