diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-16 11:27:32 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-21 18:14:11 +0200 |
commit | 1ebaaf9bb1f5f663f53edaeac026fb465a8c576e (patch) | |
tree | 1f4cc71d8319e147c59793d6bcb72019d39fa8fe /src/core/hle/kernel/thread.cpp | |
parent | Applets/swkdb: Remove use of Memory::GetPointer (diff) | |
download | yuzu-1ebaaf9bb1f5f663f53edaeac026fb465a8c576e.tar yuzu-1ebaaf9bb1f5f663f53edaeac026fb465a8c576e.tar.gz yuzu-1ebaaf9bb1f5f663f53edaeac026fb465a8c576e.tar.bz2 yuzu-1ebaaf9bb1f5f663f53edaeac026fb465a8c576e.tar.lz yuzu-1ebaaf9bb1f5f663f53edaeac026fb465a8c576e.tar.xz yuzu-1ebaaf9bb1f5f663f53edaeac026fb465a8c576e.tar.zst yuzu-1ebaaf9bb1f5f663f53edaeac026fb465a8c576e.zip |
Diffstat (limited to '')
-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, |