From 3628a8593facb4b32eb1ae728878fd9f00c52419 Mon Sep 17 00:00:00 2001 From: Ofek Date: Thu, 23 Nov 2017 14:27:44 +0200 Subject: [PATCH] Fix cellGameBootCheck for disc games (#3771) Don't return dirName --- rpcs3/Emu/Cell/Modules/cellGame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellGame.cpp b/rpcs3/Emu/Cell/Modules/cellGame.cpp index 9b8ca2b9b1..06d5639a1b 100644 --- a/rpcs3/Emu/Cell/Modules/cellGame.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGame.cpp @@ -255,7 +255,7 @@ error_code cellGameBootCheck(vm::ptr type, vm::ptr attributes, vm::ptr { *type = CELL_GAME_GAMETYPE_DISC; *attributes = 0; // TODO - if (dirName) strcpy_trunc(*dirName, ""); // ??? + // TODO: dirName might be a read only string when BootCheck is called on a disc game. (e.g. Ben 10 Ultimate Alien: Cosmic Destruction) if (!fxm::make("", std::move(sfo))) {