summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/interface.h
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2020-11-08 09:11:34 +0100
committerChloe Marcec <dmarcecguzman@gmail.com>2020-11-10 05:57:35 +0100
commit31c12de0fecec5889020191ca6de0b7fbf8c51ba (patch)
tree530f9569b0e145f83b6e876886698403a73b02f7 /src/core/hle/service/nvdrv/interface.h
parentMerge pull request #4909 from lioncash/interrupt (diff)
downloadyuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.gz
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.bz2
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.lz
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.xz
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.tar.zst
yuzu-31c12de0fecec5889020191ca6de0b7fbf8c51ba.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/interface.h')
-rw-r--r--src/core/hle/service/nvdrv/interface.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/interface.h b/src/core/hle/service/nvdrv/interface.h
index 72e17a728..d7bcf2b7e 100644
--- a/src/core/hle/service/nvdrv/interface.h
+++ b/src/core/hle/service/nvdrv/interface.h
@@ -23,7 +23,7 @@ public:
private:
void Open(Kernel::HLERequestContext& ctx);
- void Ioctl(Kernel::HLERequestContext& ctx);
+ void Ioctl1(Kernel::HLERequestContext& ctx);
void Ioctl2(Kernel::HLERequestContext& ctx);
void Ioctl3(Kernel::HLERequestContext& ctx);
void Close(Kernel::HLERequestContext& ctx);
@@ -33,11 +33,13 @@ private:
void SetGraphicsFirmwareMemoryMarginEnabled(Kernel::HLERequestContext& ctx);
void GetStatus(Kernel::HLERequestContext& ctx);
void DumpGraphicsMemoryInfo(Kernel::HLERequestContext& ctx);
- void IoctlBase(Kernel::HLERequestContext& ctx, IoctlVersion version);
+
+ void ServiceError(Kernel::HLERequestContext& ctx, NvResult result);
std::shared_ptr<Module> nvdrv;
u64 pid{};
+ bool initialized{};
};
} // namespace Service::Nvidia