From 48d02f91a891b25bee9703482a6035bfe5104a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 20 May 2017 14:15:41 +0200 Subject: [PATCH] IOS/ES: Mark ioctlv 0x3f as invalid It's not used in IOS. Looks like they just decided to skip 0x3f. --- Source/Core/Core/IOS/ES/ES.cpp | 2 +- Source/Core/Core/IOS/ES/ES.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/IOS/ES/ES.cpp b/Source/Core/Core/IOS/ES/ES.cpp index 2ef00bf0ce..6fcf884578 100644 --- a/Source/Core/Core/IOS/ES/ES.cpp +++ b/Source/Core/Core/IOS/ES/ES.cpp @@ -516,7 +516,6 @@ IPCCommandResult ES::IOCtlV(const IOCtlVRequest& request) case IOCTL_ES_UNKNOWN_3C: case IOCTL_ES_UNKNOWN_3D: case IOCTL_ES_UNKNOWN_3E: - case IOCTL_ES_UNKNOWN_3F: case IOCTL_ES_UNKNOWN_41: case IOCTL_ES_UNKNOWN_42: PanicAlert("IOS-ES: Unimplemented ioctlv 0x%x (%zu in vectors, %zu io vectors)", @@ -524,6 +523,7 @@ IPCCommandResult ES::IOCtlV(const IOCtlVRequest& request) request.DumpUnknown(GetDeviceName(), LogTypes::IOS_ES, LogTypes::LERROR); return GetDefaultReply(IPC_EINVAL); + case IOCTL_ES_INVALID_3F: default: return GetDefaultReply(IPC_EINVAL); } diff --git a/Source/Core/Core/IOS/ES/ES.h b/Source/Core/Core/IOS/ES/ES.h index a8c472ac9d..a55297e760 100644 --- a/Source/Core/Core/IOS/ES/ES.h +++ b/Source/Core/Core/IOS/ES/ES.h @@ -185,7 +185,7 @@ private: IOCTL_ES_UNKNOWN_3C = 0x3C, IOCTL_ES_UNKNOWN_3D = 0x3D, IOCTL_ES_UNKNOWN_3E = 0x3E, - IOCTL_ES_UNKNOWN_3F = 0x3F, + IOCTL_ES_INVALID_3F = 0x3F, IOCTL_ES_GET_V0_TICKET_FROM_VIEW = 0x40, IOCTL_ES_UNKNOWN_41 = 0x41, IOCTL_ES_UNKNOWN_42 = 0x42,