summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvdrv/nvdrv.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-30 08:51:40 +0100
committerbunnei <bunneidev@gmail.com>2021-02-05 23:00:36 +0100
commit3f942c01f0d8c42837c49a164ed78f6410d62bda (patch)
treec060645e1c90727ef7cb4c26334e8ed32ff7f577 /src/core/hle/service/nvdrv/nvdrv.cpp
parenthle: kernel: Rename ReadableEvent to KReadableEvent. (diff)
downloadyuzu-3f942c01f0d8c42837c49a164ed78f6410d62bda.tar
yuzu-3f942c01f0d8c42837c49a164ed78f6410d62bda.tar.gz
yuzu-3f942c01f0d8c42837c49a164ed78f6410d62bda.tar.bz2
yuzu-3f942c01f0d8c42837c49a164ed78f6410d62bda.tar.lz
yuzu-3f942c01f0d8c42837c49a164ed78f6410d62bda.tar.xz
yuzu-3f942c01f0d8c42837c49a164ed78f6410d62bda.tar.zst
yuzu-3f942c01f0d8c42837c49a164ed78f6410d62bda.zip
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.cpp')
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp
index caeab0bd2..b6c4c85e0 100644
--- a/src/core/hle/service/nvdrv/nvdrv.cpp
+++ b/src/core/hle/service/nvdrv/nvdrv.cpp
@@ -8,7 +8,7 @@
#include "core/core.h"
#include "core/hle/ipc_helpers.h"
#include "core/hle/kernel/k_readable_event.h"
-#include "core/hle/kernel/writable_event.h"
+#include "core/hle/kernel/k_writable_event.h"
#include "core/hle/service/nvdrv/devices/nvdevice.h"
#include "core/hle/service/nvdrv/devices/nvdisp_disp0.h"
#include "core/hle/service/nvdrv/devices/nvhost_as_gpu.h"
@@ -42,7 +42,7 @@ Module::Module(Core::System& system) : syncpoint_manager{system.GPU()} {
auto& kernel = system.Kernel();
for (u32 i = 0; i < MaxNvEvents; i++) {
std::string event_label = fmt::format("NVDRV::NvEvent_{}", i);
- events_interface.events[i] = {Kernel::WritableEvent::CreateEventPair(kernel, event_label)};
+ events_interface.events[i] = {Kernel::KWritableEvent::CreateEventPair(kernel, event_label)};
events_interface.status[i] = EventState::Free;
events_interface.registered[i] = false;
}
@@ -175,7 +175,7 @@ std::shared_ptr<Kernel::KReadableEvent> Module::GetEvent(const u32 event_id) con
return events_interface.events[event_id].event.readable;
}
-std::shared_ptr<Kernel::WritableEvent> Module::GetEventWriteable(const u32 event_id) const {
+std::shared_ptr<Kernel::KWritableEvent> Module::GetEventWriteable(const u32 event_id) const {
return events_interface.events[event_id].event.writable;
}