mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-11-04 04:34:07 +01:00 
			
		
		
		
	Merge pull request #8260 from Morph1984/c4146
kernel: svc: Replace -1ULL with 0xFFFFFFFFFFFFFFFF
This commit is contained in:
		
						commit
						a7f7279d9d
					
				@ -899,7 +899,7 @@ static ResultCode GetInfo(Core::System& system, u64* result, u64 info_id, Handle
 | 
			
		||||
 | 
			
		||||
        // Verify the requested core is valid.
 | 
			
		||||
        const bool core_valid =
 | 
			
		||||
            (info_sub_id == static_cast<u64>(-1ULL)) ||
 | 
			
		||||
            (info_sub_id == 0xFFFFFFFFFFFFFFFF) ||
 | 
			
		||||
            (info_sub_id == static_cast<u64>(system.Kernel().CurrentPhysicalCoreIndex()));
 | 
			
		||||
        R_UNLESS(core_valid, ResultInvalidCombination);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user