mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	common: Resolve C4267 warning on MSVC
Also removes Timer::GetDoubleTime() as it is unused.
This commit is contained in:
		
							parent
							
								
									46c6e5c4c0
								
							
						
					
					
						commit
						1cc1c33a15
					
				
					 6 changed files with 7 additions and 28 deletions
				
			
		|  | @ -158,10 +158,10 @@ struct ABIFrameInfo { | |||
| 
 | ||||
| inline ABIFrameInfo ABI_CalculateFrameSize(std::bitset<32> regs, std::size_t rsp_alignment, | ||||
|                                            std::size_t needed_frame_size) { | ||||
|     int count = (regs & ABI_ALL_GPRS).count(); | ||||
|     const auto count = (regs & ABI_ALL_GPRS).count(); | ||||
|     rsp_alignment -= count * 8; | ||||
|     std::size_t subtraction = 0; | ||||
|     int xmm_count = (regs & ABI_ALL_XMMS).count(); | ||||
|     const auto xmm_count = (regs & ABI_ALL_XMMS).count(); | ||||
|     if (xmm_count) { | ||||
|         // If we have any XMMs to save, we must align the stack here.
 | ||||
|         subtraction = rsp_alignment & 0xF; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue