Y8950: fix missing ADPCM chan osc
This commit is contained in:
		
							parent
							
								
									f7f1734c7d
								
							
						
					
					
						commit
						af64f9c141
					
				| 
						 | 
					@ -1558,7 +1558,7 @@ DivMacroInt* DivPlatformOPL::getChanMacroInt(int ch) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) {
 | 
					DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) {
 | 
				
			||||||
  if (oplType==759) {
 | 
					  if (oplType==759 || chipType==8950) {
 | 
				
			||||||
    if (ch>=totalChans+1) return NULL;
 | 
					    if (ch>=totalChans+1) return NULL;
 | 
				
			||||||
  } else {
 | 
					  } else {
 | 
				
			||||||
    if (ch>=totalChans) return NULL;
 | 
					    if (ch>=totalChans) return NULL;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue