diff options
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -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, | |||
| 403 | priority = new_priority; | 403 | priority = new_priority; |
| 404 | } | 404 | } |
| 405 | 405 | ||
| 406 | if (!Memory::GetPointer(entry_point)) { | 406 | if (!Memory::IsValidVirtualAddress(entry_point)) { |
| 407 | LOG_ERROR(Kernel_SVC, "(name=%s): invalid entry %08x", name.c_str(), entry_point); | 407 | LOG_ERROR(Kernel_SVC, "(name=%s): invalid entry %08x", name.c_str(), entry_point); |
| 408 | // TODO: Verify error | 408 | // TODO: Verify error |
| 409 | return ResultCode(ErrorDescription::InvalidAddress, ErrorModule::Kernel, | 409 | return ResultCode(ErrorDescription::InvalidAddress, ErrorModule::Kernel, |