From 80cfb2eb580256184e875bfae08a76ff9d116fd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandro=20S=C3=A1nchez=20Bach?= Date: Wed, 12 Mar 2014 23:34:35 +0100 Subject: [PATCH] cellGame functions & MULHD(U) warn. disabled --- rpcs3/Emu/Cell/PPUInterpreter.h | 5 ++--- rpcs3/Emu/SysCalls/Modules/cellGame.cpp | 24 ++++++++++++++++++++---- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/rpcs3/Emu/Cell/PPUInterpreter.h b/rpcs3/Emu/Cell/PPUInterpreter.h index ea916d43b1..2f9f4ae792 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.h +++ b/rpcs3/Emu/Cell/PPUInterpreter.h @@ -2313,8 +2313,7 @@ private: #ifdef _M_X64 CPU.GPR[rd] = __umulh(CPU.GPR[ra], CPU.GPR[rb]); #else - ConLog.Warning("MULHDU"); - + //ConLog.Warning("MULHDU"); const u64 RA = CPU.GPR[ra]; const u64 RB = CPU.GPR[rb]; @@ -2520,7 +2519,7 @@ private: #ifdef _M_X64 CPU.GPR[rd] = __mulh(CPU.GPR[ra], CPU.GPR[rb]); #else - ConLog.Warning("MULHD"); + //ConLog.Warning("MULHD"); const s64 RA = CPU.GPR[ra]; const s64 RB = CPU.GPR[rb]; diff --git a/rpcs3/Emu/SysCalls/Modules/cellGame.cpp b/rpcs3/Emu/SysCalls/Modules/cellGame.cpp index a42dcb14fe..1b3ad08eae 100644 --- a/rpcs3/Emu/SysCalls/Modules/cellGame.cpp +++ b/rpcs3/Emu/SysCalls/Modules/cellGame.cpp @@ -118,9 +118,15 @@ int cellGameBootCheck(mem32_t type, mem32_t attributes, mem_ptr_thddFreeSizeKB = 40000000; //40 GB, TODO: Use the free space of the computer's HDD where RPCS3 is being run. size->sizeKB = CELL_GAME_SIZEKB_NOTCALC; @@ -150,6 +156,16 @@ int cellGameContentPermit(mem_list_ptr_t contentInfoPath, mem_list_ptr_t buf, u32 bufsize) if(!buf.IsGood()) return CELL_GAME_ERROR_PARAM; - // TODO: Locate the PARAM.SFO. The following path is in most cases wrong. + // TODO: Locate the PARAM.SFO. The following path may be wrong. vfsFile f("/app_home/PARAM.SFO"); PSFLoader psf(f); if(!psf.Load(false))