summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-30 04:39:31 +0200
committerbunnei <bunneidev@gmail.com>2018-05-30 04:39:31 +0200
commit6306655665c097bc63f7fac7ffcb9907a98abebe (patch)
tree4ce33b360e1625775254574fe278c8a075a2bf62 /src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
parentnvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand. (diff)
downloadyuzu-6306655665c097bc63f7fac7ffcb9907a98abebe.tar
yuzu-6306655665c097bc63f7fac7ffcb9907a98abebe.tar.gz
yuzu-6306655665c097bc63f7fac7ffcb9907a98abebe.tar.bz2
yuzu-6306655665c097bc63f7fac7ffcb9907a98abebe.tar.lz
yuzu-6306655665c097bc63f7fac7ffcb9907a98abebe.tar.xz
yuzu-6306655665c097bc63f7fac7ffcb9907a98abebe.tar.zst
yuzu-6306655665c097bc63f7fac7ffcb9907a98abebe.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
index a2d3584e5..7872d1e09 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp
@@ -19,6 +19,8 @@ u32 nvhost_ctrl::ioctl(Ioctl command, const std::vector<u8>& input, std::vector<
return IocCtrlEventWait(input, output, false);
case IoctlCommand::IocCtrlEventWaitAsyncCommand:
return IocCtrlEventWait(input, output, true);
+ case IoctlCommand::IocCtrlEventRegisterCommand:
+ return IocCtrlEventRegister(input, output);
}
UNIMPLEMENTED_MSG("Unimplemented ioctl");
return 0;
@@ -61,4 +63,10 @@ u32 nvhost_ctrl::IocCtrlEventWait(const std::vector<u8>& input, std::vector<u8>&
return 0;
}
+u32 nvhost_ctrl::IocCtrlEventRegister(const std::vector<u8>& input, std::vector<u8>& output) {
+ NGLOG_WARNING(Service_NVDRV, "(STUBBED) called");
+ // TODO(bunnei): Implement this.
+ return 0;
+}
+
} // namespace Service::Nvidia::Devices