WFS: Stub out unimplemented ioctl 0x08.

This commit is contained in:
Pierre Bourdon 2017-08-05 16:50:50 +02:00
parent f0ba0f617f
commit f3224dc726
2 changed files with 8 additions and 0 deletions

View File

@ -44,6 +44,13 @@ IPCCommandResult WFSSRV::IOCtl(const IOCtlRequest& request)
INFO_LOG(IOS, "IOCTL_WFS_INIT");
break;
case IOCTL_WFS_UNKNOWN_8:
// TODO(wfs): Figure out what this actually does.
INFO_LOG(IOS, "IOCTL_WFS_UNKNOWN_8");
Memory::Write_U8(7, request.buffer_out);
Memory::CopyToEmu(request.buffer_out + 1, "msc01\x00\x00\x00", 8);
break;
case IOCTL_WFS_SHUTDOWN:
INFO_LOG(IOS, "IOCTL_WFS_SHUTDOWN");

View File

@ -42,6 +42,7 @@ private:
IOCTL_WFS_DEVICE_INFO = 0x04,
IOCTL_WFS_GET_DEVICE_NAME = 0x05,
IOCTL_WFS_UNMOUNT_VOLUME = 0x06,
IOCTL_WFS_UNKNOWN_8 = 0x08,
IOCTL_WFS_FLUSH = 0x0a,
IOCTL_WFS_GLOB_START = 0x0d,
IOCTL_WFS_GLOB_NEXT = 0x0e,