summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-07 08:57:09 -0400
committerGravatar Lioncash2018-08-07 08:57:11 -0400
commit300ab211e82f86fc19e0438557fcdf754b563176 (patch)
tree3efac4cc711377c9057122b340342a9535e32bcc
parentnvdrv: Get rid of indirect inclusions (diff)
downloadyuzu-300ab211e82f86fc19e0438557fcdf754b563176.tar.gz
yuzu-300ab211e82f86fc19e0438557fcdf754b563176.tar.xz
yuzu-300ab211e82f86fc19e0438557fcdf754b563176.zip
nvdrv: Make Ioctl()'s definition match its prototype
The only reason this wasn't a compilation error is because we use little-endian systems.
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp
index 1555ea806..e8b30921a 100644
--- a/src/core/hle/service/nvdrv/nvdrv.cpp
+++ b/src/core/hle/service/nvdrv/nvdrv.cpp
@@ -54,7 +54,7 @@ u32 Module::Open(const std::string& device_name) {
54 return fd; 54 return fd;
55} 55}
56 56
57u32 Module::Ioctl(u32 fd, u32_le command, const std::vector<u8>& input, std::vector<u8>& output) { 57u32 Module::Ioctl(u32 fd, u32 command, const std::vector<u8>& input, std::vector<u8>& output) {
58 auto itr = open_files.find(fd); 58 auto itr = open_files.find(fd);
59 ASSERT_MSG(itr != open_files.end(), "Tried to talk to an invalid device"); 59 ASSERT_MSG(itr != open_files.end(), "Tried to talk to an invalid device");
60 60