From b49bd76d91689fd348f536fcfd346a2947c5767c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 24 Aug 2021 07:28:20 -0400 Subject: [PATCH] NetKDRequest: Fix typo in IOCtl enum names (schedular -> scheduler) --- .../Core/Core/IOS/Network/KD/NetKDRequest.cpp | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Source/Core/Core/IOS/Network/KD/NetKDRequest.cpp b/Source/Core/Core/IOS/Network/KD/NetKDRequest.cpp index 6593d040b8..cc98153068 100644 --- a/Source/Core/Core/IOS/Network/KD/NetKDRequest.cpp +++ b/Source/Core/Core/IOS/Network/KD/NetKDRequest.cpp @@ -143,9 +143,9 @@ std::optional NetKDRequestDevice::IOCtl(const IOCtlRequest& request) { enum : u32 { - IOCTL_NWC24_SUSPEND_SCHEDULAR = 0x01, - IOCTL_NWC24_EXEC_TRY_SUSPEND_SCHEDULAR = 0x02, - IOCTL_NWC24_EXEC_RESUME_SCHEDULAR = 0x03, + IOCTL_NWC24_SUSPEND_SCHEDULER = 0x01, + IOCTL_NWC24_EXEC_TRY_SUSPEND_SCHEDULER = 0x02, + IOCTL_NWC24_EXEC_RESUME_SCHEDULER = 0x03, IOCTL_NWC24_KD_GET_TIME_TRIGGERS = 0x04, IOCTL_NWC24_SET_SCHEDULE_SPAN = 0x05, IOCTL_NWC24_STARTUP_SOCKET = 0x06, @@ -159,7 +159,7 @@ std::optional NetKDRequestDevice::IOCtl(const IOCtlRequest& request) IOCTL_NWC24_DOWNLOAD_NOW_EX = 0x0E, IOCTL_NWC24_REQUEST_GENERATED_USER_ID = 0x0F, IOCTL_NWC24_REQUEST_REGISTER_USER_ID = 0x10, - IOCTL_NWC24_GET_SCHEDULAR_STAT = 0x1E, + IOCTL_NWC24_GET_SCHEDULER_STAT = 0x1E, IOCTL_NWC24_SET_FILTER_MODE = 0x1F, IOCTL_NWC24_SET_DEBUG_MODE = 0x20, IOCTL_NWC24_KD_SET_NEXT_WAKEUP = 0x21, @@ -170,18 +170,18 @@ std::optional NetKDRequestDevice::IOCtl(const IOCtlRequest& request) s32 return_value = 0; switch (request.request) { - case IOCTL_NWC24_SUSPEND_SCHEDULAR: + case IOCTL_NWC24_SUSPEND_SCHEDULER: // NWC24iResumeForCloseLib from NWC24SuspendScheduler (Input: none, Output: 32 bytes) - INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_SUSPEND_SCHEDULAR - NI"); + INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_SUSPEND_SCHEDULER - NI"); WriteReturnValue(0, request.buffer_out); // no error break; - case IOCTL_NWC24_EXEC_TRY_SUSPEND_SCHEDULAR: // NWC24iResumeForCloseLib - INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_EXEC_TRY_SUSPEND_SCHEDULAR - NI"); + case IOCTL_NWC24_EXEC_TRY_SUSPEND_SCHEDULER: // NWC24iResumeForCloseLib + INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_EXEC_TRY_SUSPEND_SCHEDULER - NI"); break; - case IOCTL_NWC24_EXEC_RESUME_SCHEDULAR: // NWC24iResumeForCloseLib - INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_EXEC_RESUME_SCHEDULAR - NI"); + case IOCTL_NWC24_EXEC_RESUME_SCHEDULER: // NWC24iResumeForCloseLib + INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_EXEC_RESUME_SCHEDULER - NI"); WriteReturnValue(0, request.buffer_out); // no error break; @@ -265,8 +265,8 @@ std::optional NetKDRequestDevice::IOCtl(const IOCtlRequest& request) Memory::Write_U32(config.CreationStage(), request.buffer_out + 0xC); break; - case IOCTL_NWC24_GET_SCHEDULAR_STAT: - INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_GET_SCHEDULAR_STAT - NI"); + case IOCTL_NWC24_GET_SCHEDULER_STAT: + INFO_LOG_FMT(IOS_WC24, "NET_KD_REQ: IOCTL_NWC24_GET_SCHEDULER_STAT - NI"); break; case IOCTL_NWC24_SAVE_MAIL_NOW: