1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

Minor fixes

This commit is contained in:
DHrpcs3 2014-11-30 00:03:29 +02:00
parent 12d8e0ef38
commit ebae8dad0a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -105,7 +105,7 @@ int sceNpTrophyCreateContext(vm::ptr<u32> context, vm::ptr<SceNpCommunicationId>
{
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())
{