Minor fixes
This commit is contained in:
@@ -46,7 +46,7 @@ bool vfsDir::Open(const std::string& path)
|
|||||||
|
|
||||||
for (size_t i = 0; i < blocks.size(); ++i)
|
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;
|
is_ok = false;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ int sceNpTrophyCreateContext(vm::ptr<u32> context, vm::ptr<SceNpCommunicationId>
|
|||||||
{
|
{
|
||||||
if (entry->flags & DirEntry_TypeDir)
|
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())
|
if (stream && stream->IsOpened())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user