WFS: Implement CLOSE_2 as a clone of CLOSE.
This commit is contained in:
parent
c12418788a
commit
92387cb052
|
@ -194,6 +194,16 @@ IPCCommandResult WFSSRV::IOCtl(const IOCtlRequest& request)
|
|||
break;
|
||||
}
|
||||
|
||||
case IOCTL_WFS_CLOSE_2:
|
||||
{
|
||||
// TODO(wfs): Figure out the exact semantics difference from the other
|
||||
// close.
|
||||
u16 fd = Memory::Read_U16(request.buffer_in + 0x4);
|
||||
INFO_LOG(IOS, "IOCTL_WFS_CLOSE_2(%d)", fd);
|
||||
ReleaseFileDescriptor(fd);
|
||||
break;
|
||||
}
|
||||
|
||||
case IOCTL_WFS_READ:
|
||||
case IOCTL_WFS_READ_ABSOLUTE:
|
||||
{
|
||||
|
|
|
@ -67,6 +67,7 @@ private:
|
|||
IOCTL_WFS_WRITE = 0x22,
|
||||
IOCTL_WFS_ATTACH_DETACH = 0x2d,
|
||||
IOCTL_WFS_ATTACH_DETACH_2 = 0x2e,
|
||||
IOCTL_WFS_CLOSE_2 = 0x47,
|
||||
IOCTL_WFS_READ_ABSOLUTE = 0x48,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue