diff options
| author | 2016-05-29 21:57:07 -0400 | |
|---|---|---|
| committer | 2016-05-29 21:57:07 -0400 | |
| commit | ab4b27f0f5760c7f378f29756d3ce631bafca1b2 (patch) | |
| tree | 6340ca66710e9603db24c051da0b8173b796d3c6 /src/core/hle/kernel/thread.cpp | |
| parent | Merge pull request #1756 from wwylele/config-cleanup (diff) | |
| parent | Memory: Handle RasterizerCachedMemory and RasterizerCachedSpecial page types ... (diff) | |
| download | yuzu-ab4b27f0f5760c7f378f29756d3ce631bafca1b2.tar.gz yuzu-ab4b27f0f5760c7f378f29756d3ce631bafca1b2.tar.xz yuzu-ab4b27f0f5760c7f378f29756d3ce631bafca1b2.zip | |
Merge pull request #1692 from Subv/rm_getpointer2
Memory: Remove most usages of GetPointer
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, |