summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-08 02:41:06 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-05 21:49:14 +0200
commit8942047d419f6d2d0c56adad689fbf3bcd4d2961 (patch)
treeaa2dd5b6aeef25c9fd5543a2a4ef267a7152b052 /src/core/hle/service/nvdrv
parentnv_services: Implement NvQueryEvent, NvCtrlEventWait, NvEventRegister, NvEventUnregister (diff)
downloadyuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar
yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.gz
yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.bz2
yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.lz
yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.xz
yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.tar.zst
yuzu-8942047d419f6d2d0c56adad689fbf3bcd4d2961.zip
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r--src/core/hle/service/nvdrv/interface.cpp2
-rw-r--r--src/core/hle/service/nvdrv/interface.h2
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.h5
3 files changed, 1 insertions, 8 deletions
diff --git a/src/core/hle/service/nvdrv/interface.cpp b/src/core/hle/service/nvdrv/interface.cpp
index 76482d16e..d95ba18cb 100644
--- a/src/core/hle/service/nvdrv/interface.cpp
+++ b/src/core/hle/service/nvdrv/interface.cpp
@@ -140,8 +140,6 @@ NVDRV::NVDRV(std::shared_ptr<Module> nvdrv, const char* name)
RegisterHandlers(functions);
auto& kernel = Core::System::GetInstance().Kernel();
- query_event = Kernel::WritableEvent::CreateEventPair(kernel, Kernel::ResetType::Automatic,
- "NVDRV::query_event");
}
NVDRV::~NVDRV() = default;
diff --git a/src/core/hle/service/nvdrv/interface.h b/src/core/hle/service/nvdrv/interface.h
index 421b01017..09cf4bb12 100644
--- a/src/core/hle/service/nvdrv/interface.h
+++ b/src/core/hle/service/nvdrv/interface.h
@@ -35,8 +35,6 @@ private:
std::shared_ptr<Module> nvdrv;
u64 pid{};
-
- Kernel::EventPair query_event;
};
} // namespace Service::Nvidia
diff --git a/src/core/hle/service/nvdrv/nvdrv.h b/src/core/hle/service/nvdrv/nvdrv.h
index 9a4cdc60f..d299f2877 100644
--- a/src/core/hle/service/nvdrv/nvdrv.h
+++ b/src/core/hle/service/nvdrv/nvdrv.h
@@ -8,6 +8,7 @@
#include <unordered_map>
#include <vector>
#include "common/common_types.h"
+#include "core/hle/kernel/writable_event.h"
#include "core/hle/service/nvdrv/nvdata.h"
#include "core/hle/service/service.h"
@@ -15,10 +16,6 @@ namespace Service::NVFlinger {
class NVFlinger;
}
-namespace Kernel {
-class WritableEvent;
-}
-
namespace Service::Nvidia {
namespace Devices {