Make block_fnum unsigned in fmopl
This value is stored as 32-bit unsigned value elsewhere throughout this file and is being compared against 32-bit unsigned in this function.
This commit is contained in:
		
							parent
							
								
									5983e820c4
								
							
						
					
					
						commit
						f959484192
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1485,8 +1485,7 @@ void FM_OPL::WriteReg(int r, int v)
 | 
			
		|||
{
 | 
			
		||||
	OPL_CH *CH;
 | 
			
		||||
	int slot;
 | 
			
		||||
	int block_fnum;
 | 
			
		||||
 | 
			
		||||
	uint32_t block_fnum;
 | 
			
		||||
 | 
			
		||||
	/* adjust bus to 8 bits */
 | 
			
		||||
	r &= 0xff;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue