From bca95916603ad5913281c72c2a0620bddf2f3010 Mon Sep 17 00:00:00 2001 From: Levi Behunin Date: Sun, 1 Nov 2020 01:24:17 -0700 Subject: Rename to align with switchbrew and remove gpu function (#4714) * Rename to align with switchbrew * Rename to align with switchbrew and remove gpu function that checks if clearing should be done. --- src/core/hle/service/nvdrv/devices/nvhost_ctrl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/hle/service/nvdrv/devices/nvhost_ctrl.h') diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h index 9898623de..f7b04d9f1 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h @@ -31,7 +31,7 @@ private: IocSyncptWaitexCommand = 0xC0100019, IocSyncptReadMaxCommand = 0xC008001A, IocGetConfigCommand = 0xC183001B, - IocCtrlEventSignalCommand = 0xC004001C, + IocCtrlClearEventWaitCommand = 0xC004001C, IocCtrlEventWaitCommand = 0xC010001D, IocCtrlEventWaitAsyncCommand = 0xC010001E, IocCtrlEventRegisterCommand = 0xC004001F, @@ -94,7 +94,7 @@ private: static_assert(sizeof(IocGetConfigParams) == 387, "IocGetConfigParams is incorrect size"); struct IocCtrlEventSignalParams { - u32_le user_event_id; + u32_le event_id; }; static_assert(sizeof(IocCtrlEventSignalParams) == 4, "IocCtrlEventSignalParams is incorrect size"); @@ -142,7 +142,7 @@ private: u32 IocCtrlEventUnregister(const std::vector& input, std::vector& output); - u32 IocCtrlEventSignal(const std::vector& input, std::vector& output); + u32 IocCtrlClearEventWait(const std::vector& input, std::vector& output); EventInterface& events_interface; }; -- cgit v1.2.3