From ebae8dad0a1b8d044a7804c075a9a0dfb1e5d175 Mon Sep 17 00:00:00 2001 From: DHrpcs3 Date: Sun, 30 Nov 2014 00:03:29 +0200 Subject: [PATCH] Minor fixes --- rpcs3/Emu/FS/vfsDir.cpp | 2 +- rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/FS/vfsDir.cpp b/rpcs3/Emu/FS/vfsDir.cpp index 4dac75d851..7d483d8b3d 100644 --- a/rpcs3/Emu/FS/vfsDir.cpp +++ b/rpcs3/Emu/FS/vfsDir.cpp @@ -46,7 +46,7 @@ bool vfsDir::Open(const std::string& path) for (size_t i = 0; i < blocks.size(); ++i) { - if (stricmp(dev_blocks[i].c_str(), blocks[i].c_str())) + if (strcmp(dev_blocks[i].c_str(), blocks[i].c_str())) { is_ok = false; break; diff --git a/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp b/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp index 32fd4ad76a..c8c95a187f 100644 --- a/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp +++ b/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp @@ -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()) {