From 43b75ccf047d98df2ed7c21c610c02b10bb064ee Mon Sep 17 00:00:00 2001 From: eladash Date: Wed, 17 Oct 2018 21:57:24 +0300 Subject: [PATCH] cellGame: Add missing nullptr checks if the param is null pointer, the library simply skips writing into it. also fix the order of writes. --- rpcs3/Emu/Cell/Modules/cellGame.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellGame.cpp b/rpcs3/Emu/Cell/Modules/cellGame.cpp index 5d2222b281..3376ad1246 100644 --- a/rpcs3/Emu/Cell/Modules/cellGame.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGame.cpp @@ -641,15 +641,16 @@ error_code cellGameCreateGameData(vm::ptr init, vm::ptrtemp = vfs::get(tmp_contentInfo); cellGame.success("cellGameCreateGameData(): temporary directory '%s' has been created", tmp_contentInfo);