hle: kernel: Rename Process to KProcess.

This commit is contained in:
bunnei
2021-04-23 22:04:28 -07:00
parent bf380b8584
commit 2a7eff57a8
83 changed files with 249 additions and 247 deletions

View File

@ -3,8 +3,8 @@
// Refer to the license.txt file included.
#include "core/hle/kernel/k_event.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_resource_limit.h"
#include "core/hle/kernel/process.h"
namespace Kernel {
@ -45,7 +45,7 @@ void KEvent::Finalize() {
void KEvent::PostDestroy(uintptr_t arg) {
// Release the event count resource the owner process holds.
Process* owner = reinterpret_cast<Process*>(arg);
KProcess* owner = reinterpret_cast<KProcess*>(arg);
if (owner) {
owner->GetResourceLimit()->Release(LimitableResource::Events, 1);
owner->Close();