diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-16 10:27:32 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-21 11:14:11 -0500 |
commit | 1ebaaf9bb1f5f663f53edaeac026fb465a8c576e (patch) | |
tree | 1f4cc71d8319e147c59793d6bcb72019d39fa8fe /src | |
parent | aa84cab4e9c27c947192d055dd06941415d6e590 (diff) |
Kernel/Thread: Remove use of Memory::GetPointer
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 43def6146..3f6bec5fa 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -403,7 +403,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, priority = new_priority; } - if (!Memory::GetPointer(entry_point)) { + if (!Memory::IsValidVirtualAddress(entry_point)) { LOG_ERROR(Kernel_SVC, "(name=%s): invalid entry %08x", name.c_str(), entry_point); // TODO: Verify error return ResultCode(ErrorDescription::InvalidAddress, ErrorModule::Kernel, |