added svcCloseHandle to FSDIR_Close()

FSDIR_Close() and FSFILE_Close() should have the same behavior
This commit is contained in:
Lectem 2014-11-23 22:58:11 +01:00
parent 04695f3039
commit 3a47113dab

View File

@ -1331,6 +1331,7 @@ FSDIR_Close(Handle handle)
Result ret = 0;
if((ret = svcSendSyncRequest(handle)))
return ret;
return cmdbuf[1];
ret = cmdbuf[1];
if(!ret)ret = svcCloseHandle(handle);
return ret;
}