diff options
| author | 2023-03-11 22:10:38 -0500 | |
|---|---|---|
| committer | 2023-03-12 11:33:01 -0400 | |
| commit | 600f325d87e42f856da58c42a5280f098ebb6e8c (patch) | |
| tree | 75c4fe48af55186a4e420e94a1d7e1bfd92e4ec0 /src/core/hle/kernel | |
| parent | general: use codespell to identify spelling mistakes (diff) | |
| download | yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.gz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.tar.xz yuzu-600f325d87e42f856da58c42a5280f098ebb6e8c.zip | |
general: fix spelling mistakes
Diffstat (limited to 'src/core/hle/kernel')
| -rw-r--r-- | src/core/hle/kernel/k_process.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/k_process.h | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/svc/svc_event.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/svc/svc_session.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp index d44f6e921..74a04aa66 100644 --- a/src/core/hle/kernel/k_process.cpp +++ b/src/core/hle/kernel/k_process.cpp | |||
| @@ -363,7 +363,7 @@ Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std: | |||
| 363 | code_size + system_resource_size); | 363 | code_size + system_resource_size); |
| 364 | R_RETURN(ResultLimitReached); | 364 | R_RETURN(ResultLimitReached); |
| 365 | } | 365 | } |
| 366 | // Initialize proces address space | 366 | // Initialize process address space |
| 367 | if (const Result result{page_table.InitializeForProcess( | 367 | if (const Result result{page_table.InitializeForProcess( |
| 368 | metadata.GetAddressSpaceType(), false, false, false, KMemoryManager::Pool::Application, | 368 | metadata.GetAddressSpaceType(), false, false, false, KMemoryManager::Pool::Application, |
| 369 | 0x8000000, code_size, &kernel.GetAppSystemResource(), resource_limit)}; | 369 | 0x8000000, code_size, &kernel.GetAppSystemResource(), resource_limit)}; |
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h index 549809000..bd9b9f876 100644 --- a/src/core/hle/kernel/k_process.h +++ b/src/core/hle/kernel/k_process.h | |||
| @@ -235,7 +235,7 @@ public: | |||
| 235 | total_process_running_time_ticks += ticks; | 235 | total_process_running_time_ticks += ticks; |
| 236 | } | 236 | } |
| 237 | 237 | ||
| 238 | /// Gets the process schedule count, used for thread yelding | 238 | /// Gets the process schedule count, used for thread yielding |
| 239 | s64 GetScheduledCount() const { | 239 | s64 GetScheduledCount() const { |
| 240 | return schedule_count; | 240 | return schedule_count; |
| 241 | } | 241 | } |
diff --git a/src/core/hle/kernel/svc/svc_event.cpp b/src/core/hle/kernel/svc/svc_event.cpp index a948493e8..8692b00f2 100644 --- a/src/core/hle/kernel/svc/svc_event.cpp +++ b/src/core/hle/kernel/svc/svc_event.cpp | |||
| @@ -85,7 +85,7 @@ Result CreateEvent(Core::System& system, Handle* out_write, Handle* out_read) { | |||
| 85 | // Add the event to the handle table. | 85 | // Add the event to the handle table. |
| 86 | R_TRY(handle_table.Add(out_write, event)); | 86 | R_TRY(handle_table.Add(out_write, event)); |
| 87 | 87 | ||
| 88 | // Ensure that we maintaing a clean handle state on exit. | 88 | // Ensure that we maintain a clean handle state on exit. |
| 89 | auto handle_guard = SCOPE_GUARD({ handle_table.Remove(*out_write); }); | 89 | auto handle_guard = SCOPE_GUARD({ handle_table.Remove(*out_write); }); |
| 90 | 90 | ||
| 91 | // Add the readable event to the handle table. | 91 | // Add the readable event to the handle table. |
diff --git a/src/core/hle/kernel/svc/svc_session.cpp b/src/core/hle/kernel/svc/svc_session.cpp index 00fd1605e..6dd242dcf 100644 --- a/src/core/hle/kernel/svc/svc_session.cpp +++ b/src/core/hle/kernel/svc/svc_session.cpp | |||
| @@ -81,7 +81,7 @@ Result CreateSession(Core::System& system, Handle* out_server, Handle* out_clien | |||
| 81 | const auto result = handle_table.Add(out_client, &session->GetClientSession()); | 81 | const auto result = handle_table.Add(out_client, &session->GetClientSession()); |
| 82 | 82 | ||
| 83 | if (!R_SUCCEEDED(result)) { | 83 | if (!R_SUCCEEDED(result)) { |
| 84 | // Ensure that we maintaing a clean handle state on exit. | 84 | // Ensure that we maintain a clean handle state on exit. |
| 85 | handle_table.Remove(*out_server); | 85 | handle_table.Remove(*out_server); |
| 86 | } | 86 | } |
| 87 | 87 | ||