summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2016-04-16 11:27:32 +0200
committerSubv <subv2112@gmail.com>2016-05-21 18:14:11 +0200
commit1ebaaf9bb1f5f663f53edaeac026fb465a8c576e (patch)
tree1f4cc71d8319e147c59793d6bcb72019d39fa8fe /src
parentApplets/swkdb: Remove use of Memory::GetPointer (diff)
downloadyuzu-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 'src')
-rw-r--r--src/core/hle/kernel/thread.cpp2
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,