summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdrv.h
diff options
context:
space:
mode:
authorFrederic Meyer <binarynoob96@gmail.com>2018-01-17 17:08:46 +0100
committerFrederic Meyer <binarynoob96@gmail.com>2018-01-17 17:08:46 +0100
commit60d650cc4ec377fc0d3096bb3f9900fc4bc10299 (patch)
tree43185a8f70a559f3dfc5f6e4200d50ea7f28fb42 /src/core/hle/service/nvdrv/nvdrv.h
parentMerge pull request #67 from RiverCityRansomware/gdbstubtypo (diff)
downloadyuzu-60d650cc4ec377fc0d3096bb3f9900fc4bc10299.tar
yuzu-60d650cc4ec377fc0d3096bb3f9900fc4bc10299.tar.gz
yuzu-60d650cc4ec377fc0d3096bb3f9900fc4bc10299.tar.bz2
yuzu-60d650cc4ec377fc0d3096bb3f9900fc4bc10299.tar.lz
yuzu-60d650cc4ec377fc0d3096bb3f9900fc4bc10299.tar.xz
yuzu-60d650cc4ec377fc0d3096bb3f9900fc4bc10299.tar.zst
yuzu-60d650cc4ec377fc0d3096bb3f9900fc4bc10299.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.h b/src/core/hle/service/nvdrv/nvdrv.h
index 1940ced99..e44644624 100644
--- a/src/core/hle/service/nvdrv/nvdrv.h
+++ b/src/core/hle/service/nvdrv/nvdrv.h
@@ -35,6 +35,8 @@ public:
u32 Open(std::string device_name);
/// Sends an ioctl command to the specified file descriptor.
u32 Ioctl(u32 fd, u32 command, const std::vector<u8>& input, std::vector<u8>& output);
+ /// Closes a device file descriptor and returns operation success.
+ ResultCode Close(u32 fd);
private:
/// Id to use for the next open file descriptor.