diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-09-19 07:37:25 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-09-19 07:37:25 +0200 |
commit | f9259c03832eff2d71279802af56d14c14b69844 (patch) | |
tree | f45411a9f9421f047c58c7a89215daeefec26cfc /src/core/hle/service/nvdrv/nvdrv.cpp | |
parent | Merge pull request #2784 from ReinUsesLisp/smem (diff) | |
download | yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.gz yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.bz2 yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.lz yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.xz yuzu-f9259c03832eff2d71279802af56d14c14b69844.tar.zst yuzu-f9259c03832eff2d71279802af56d14c14b69844.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvdrv/nvdrv.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp index 2011a226a..307a7e928 100644 --- a/src/core/hle/service/nvdrv/nvdrv.cpp +++ b/src/core/hle/service/nvdrv/nvdrv.cpp @@ -71,13 +71,14 @@ u32 Module::Open(const std::string& device_name) { return fd; } -u32 Module::Ioctl(u32 fd, u32 command, const std::vector<u8>& input, std::vector<u8>& output, - IoctlCtrl& ctrl) { +u32 Module::Ioctl(u32 fd, u32 command, const std::vector<u8>& input, const std::vector<u8>& input2, + std::vector<u8>& output, std::vector<u8>& output2, IoctlCtrl& ctrl, + IoctlVersion version) { auto itr = open_files.find(fd); ASSERT_MSG(itr != open_files.end(), "Tried to talk to an invalid device"); auto& device = itr->second; - return device->ioctl({command}, input, output, ctrl); + return device->ioctl({command}, input, input2, output, output2, ctrl, version); } ResultCode Module::Close(u32 fd) { |