summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdata.h')
-rw-r--r--src/core/hle/service/nvdrv/nvdata.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/nvdata.h b/src/core/hle/service/nvdrv/nvdata.h
index fd5f79f36..6dbc90e4c 100644
--- a/src/core/hle/service/nvdrv/nvdata.h
+++ b/src/core/hle/service/nvdrv/nvdata.h
@@ -6,6 +6,7 @@
namespace Service::Nvidia {
constexpr u32 MaxSyncPoints = 192;
+constexpr u32 MaxNvEvents = 64;
struct Fence {
s32 id;
@@ -19,9 +20,18 @@ struct MultiFence {
std::array<Fence, 4> fences;
};
-enum class NvResult : u32 {
+enum NvResult : u32 {
Success = 0,
- TryAgain = 11,
+ BadParameter = 4,
+ Timeout = 5,
+ ResourceError = 15,
+};
+
+enum class EventState {
+ Free = 0,
+ Registered = 1,
+ Waiting = 2,
+ Busy = 3,
};
} // namespace Service::Nvidia