mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Dyncom: Use size_t instead of int to store the instruction offsets in the instruction cache.
Fixes a few warnings.
This commit is contained in:
		
							parent
							
								
									d3fb1d6c38
								
							
						
					
					
						commit
						9d0841b48b
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -230,7 +230,7 @@ public:
 | 
			
		|||
 | 
			
		||||
    // TODO(bunnei): Move this cache to a better place - it should be per codeset (likely per
 | 
			
		||||
    // process for our purposes), not per ARMul_State (which tracks CPU core state).
 | 
			
		||||
    std::unordered_map<u32, int> instruction_cache;
 | 
			
		||||
    std::unordered_map<u32, std::size_t> instruction_cache;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    void ResetMPCoreCP15Registers();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue