summaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvdrv
diff options
context:
space:
mode:
authorGravatar Viktor Szépe2024-01-08 20:31:48 +0100
committerGravatar GitHub2024-01-08 13:31:48 -0600
commitf12446167491b3e691f6a93a01cad3bd9e54d105 (patch)
tree8992865b548e08317504d653880c3ee4aacb6ad4 /src/core/hle/service/nvdrv
parentMerge pull request #12608 from szepeviktor/typos (diff)
downloadyuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar.gz
yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar.xz
yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.zip
Fix typos in src/core (#12625)
* Fix typos in src/core * Fix typo correction * Fix indentation of MemoryStateNames * Fix indent
Diffstat (limited to 'src/core/hle/service/nvdrv')
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h2
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp2
-rw-r--r--src/core/hle/service/nvdrv/nvdata.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h
index 932997e75..79a21683d 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h
+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h
@@ -90,7 +90,7 @@ private:
90 u64_le align; 90 u64_le align;
91 }; 91 };
92 }; 92 };
93 static_assert(sizeof(IoctlAllocSpace) == 24, "IoctlInitalizeEx is incorrect size"); 93 static_assert(sizeof(IoctlAllocSpace) == 24, "IoctlInitializeEx is incorrect size");
94 94
95 struct IoctlFreeSpace { 95 struct IoctlFreeSpace {
96 u64_le offset{}; 96 u64_le offset{};
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
index 61a2df121..3e0c96456 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp
@@ -15,7 +15,7 @@ namespace Service::Nvidia::Devices {
15nvhost_ctrl_gpu::nvhost_ctrl_gpu(Core::System& system_, EventInterface& events_interface_) 15nvhost_ctrl_gpu::nvhost_ctrl_gpu(Core::System& system_, EventInterface& events_interface_)
16 : nvdevice{system_}, events_interface{events_interface_} { 16 : nvdevice{system_}, events_interface{events_interface_} {
17 error_notifier_event = events_interface.CreateEvent("CtrlGpuErrorNotifier"); 17 error_notifier_event = events_interface.CreateEvent("CtrlGpuErrorNotifier");
18 unknown_event = events_interface.CreateEvent("CtrlGpuUknownEvent"); 18 unknown_event = events_interface.CreateEvent("CtrlGpuUnknownEvent");
19} 19}
20nvhost_ctrl_gpu::~nvhost_ctrl_gpu() { 20nvhost_ctrl_gpu::~nvhost_ctrl_gpu() {
21 events_interface.FreeEvent(error_notifier_event); 21 events_interface.FreeEvent(error_notifier_event);
diff --git a/src/core/hle/service/nvdrv/nvdata.h b/src/core/hle/service/nvdrv/nvdata.h
index 0e2f47075..38f35e79f 100644
--- a/src/core/hle/service/nvdrv/nvdata.h
+++ b/src/core/hle/service/nvdrv/nvdata.h
@@ -51,7 +51,7 @@ enum class NvResult : u32 {
51 DispNoDisplaysAttached = 0x20003, 51 DispNoDisplaysAttached = 0x20003,
52 DispModeNotSupported = 0x20004, 52 DispModeNotSupported = 0x20004,
53 DispNotFound = 0x20005, 53 DispNotFound = 0x20005,
54 DispAttachDissallowed = 0x20006, 54 DispAttachDisallowed = 0x20006,
55 DispTypeNotSupported = 0x20007, 55 DispTypeNotSupported = 0x20007,
56 DispAuthenticationFailed = 0x20008, 56 DispAuthenticationFailed = 0x20008,
57 DispNotAttached = 0x20009, 57 DispNotAttached = 0x20009,