From e98d1c0cb7bb0ff7708367ea463acf4cf0f4af76 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 21 Dec 2014 07:36:17 +0800 Subject: [PATCH] Trophy.trp path change --- rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp b/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp index 0cfbcf4f75..0b2f5331de 100644 --- a/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp +++ b/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp @@ -96,7 +96,7 @@ int sceNpTrophyCreateContext(vm::ptr context, vm::ptr // TODO: There are other possible errors // TODO: Is the TROPHY.TRP file necessarily located in this path? - vfsDir dir("/app_home/../TROPDIR/"); + vfsDir dir("/app_home/../../TROPDIR/"); if(!dir.IsOpened()) return SCE_NP_TROPHY_ERROR_CONF_DOES_NOT_EXIST; @@ -105,7 +105,7 @@ int sceNpTrophyCreateContext(vm::ptr context, vm::ptr { if (entry->flags & DirEntry_TypeDir) { - vfsStream* stream = Emu.GetVFS().OpenFile("/app_home/../TROPDIR/" + entry->name + "/TROPHY.TRP", vfsRead); + vfsStream* stream = Emu.GetVFS().OpenFile("/app_home/../../TROPDIR/" + entry->name + "/TROPHY.TRP", vfsRead); if (stream && stream->IsOpened()) {