diff --git a/rpcs3/Emu/SysCalls/Modules/cellGame.cpp b/rpcs3/Emu/SysCalls/Modules/cellGame.cpp index 2e320f6a49..e8b8ee0cb6 100644 --- a/rpcs3/Emu/SysCalls/Modules/cellGame.cpp +++ b/rpcs3/Emu/SysCalls/Modules/cellGame.cpp @@ -180,6 +180,12 @@ int cellGameContentPermit(vm::ptr contentInfoPath, vm: { cellGame->Warning("cellGameContentPermit(contentInfoPath_addr=0x%x, usrdirPath_addr=0x%x)", contentInfoPath.addr(), usrdirPath.addr()); + + if (!contentInfoPath && !usrdirPath) + { + cellGame->Warning("cellGameContentPermit(): CELL_GAME_ERROR_PARAM"); + return CELL_GAME_ERROR_PARAM; + } if (contentInfo == "" && usrdir == "") {