From e836c33f372bbec95f45409f8f133ac8af86868d Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 29 Dec 2017 20:04:10 +0300 Subject: [PATCH] cellGame: don't write empty TITLE_IDs in PARAM.SFO --- rpcs3/Emu/Cell/Modules/cellGame.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/cellGame.cpp b/rpcs3/Emu/Cell/Modules/cellGame.cpp index aca09281fb..92f2d35ab2 100644 --- a/rpcs3/Emu/Cell/Modules/cellGame.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGame.cpp @@ -486,6 +486,11 @@ error_code cellGameDataCheckCreate2(ppu_thread& ppu, u32 version, vm::cptr for (u32 i = 0; i < CELL_HDDGAME_SYSP_LANGUAGE_NUM; i++) { + if (!cbSet->setParam->titleLang[i][0]) + { + continue; + } + psf::assign(sfo, fmt::format("TITLE_%02d", i), psf::string(CELL_GAME_SYSP_TITLE_SIZE, cbSet->setParam->titleLang[i])); }