mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Kernel/Thread: Remove use of Memory::GetPointer
This commit is contained in:
		
							parent
							
								
									aa84cab4e9
								
							
						
					
					
						commit
						1ebaaf9bb1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -403,7 +403,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, | ||||||
|         priority = new_priority; |         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); |         LOG_ERROR(Kernel_SVC, "(name=%s): invalid entry %08x", name.c_str(), entry_point); | ||||||
|         // TODO: Verify error
 |         // TODO: Verify error
 | ||||||
|         return ResultCode(ErrorDescription::InvalidAddress, ErrorModule::Kernel, |         return ResultCode(ErrorDescription::InvalidAddress, ErrorModule::Kernel, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue