From 6dd40031549f4f98aae64b89a39cf1151d03ff2c Mon Sep 17 00:00:00 2001 From: Eladash Date: Fri, 20 Dec 2019 08:45:21 +0200 Subject: [PATCH] Fix cellNetCtlNetStartDialogUnloadAsync --- rpcs3/Emu/Cell/Modules/cellNetCtl.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellNetCtl.cpp b/rpcs3/Emu/Cell/Modules/cellNetCtl.cpp index a3537b569c..404f77dbf4 100644 --- a/rpcs3/Emu/Cell/Modules/cellNetCtl.cpp +++ b/rpcs3/Emu/Cell/Modules/cellNetCtl.cpp @@ -280,14 +280,17 @@ error_code cellNetCtlNetStartDialogUnloadAsync(vm::ptrsize != 8) { - result->result = CELL_NET_CTL_ERROR_INVALID_SIZE; return CELL_NET_CTL_ERROR_INVALID_SIZE; } if (g_cfg.net.net_status == CELL_NET_CTL_STATE_Disconnected) { result->result = CELL_NET_CTL_ERROR_NET_NOT_CONNECTED; - return CELL_NET_CTL_ERROR_NET_NOT_CONNECTED; + } + else + { + // Hack + result->result = CELL_NET_CTL_ERROR_DIALOG_CANCELED; } sysutil_send_system_cmd(CELL_SYSUTIL_NET_CTL_NETSTART_UNLOADED, 0);