summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/devices/nvdevice.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-16 17:43:41 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-05 21:49:28 +0200
commitb6844bec608ed82511738e9f3911e72aeb05243a (patch)
tree4a06bdb82d2cbceedee70ac41725c7354d1ec723 /src/core/hle/service/nvdrv/devices/nvdevice.h
parentGPU: Correct Interrupts to interrupt on syncpt/value instead of event, mirroring hardware (diff)
downloadyuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.gz
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.bz2
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.lz
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.xz
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.tar.zst
yuzu-b6844bec608ed82511738e9f3911e72aeb05243a.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvdevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvdevice.h b/src/core/hle/service/nvdrv/devices/nvdevice.h
index ed606cd15..fae69eb19 100644
--- a/src/core/hle/service/nvdrv/devices/nvdevice.h
+++ b/src/core/hle/service/nvdrv/devices/nvdevice.h
@@ -8,6 +8,7 @@
#include "common/bit_field.h"
#include "common/common_types.h"
#include "common/swap.h"
+#include "core/hle/service/nvdrv/nvdata.h"
namespace Core {
class System;
@@ -37,7 +38,8 @@ public:
* @param output A buffer where the output data will be written to.
* @returns The result code of the ioctl.
*/
- virtual u32 ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output) = 0;
+ virtual u32 ioctl(Ioctl command, const std::vector<u8>& input, std::vector<u8>& output,
+ IoctlCtrl& ctrl) = 0;
protected:
Core::System& system;