Change the disney enabling config setting
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1374
This commit is contained in:
		
							parent
							
								
									b76723b848
								
							
						
					
					
						commit
						23bbc96f4d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -101,7 +101,7 @@ static void DISNEY_CallBack(Bit8u * stream,Bit32u len) {
 | 
			
		|||
void DISNEY_Init(Section* sec) {
 | 
			
		||||
	MSG_Add("DISNEY_CONFIGFILE_HELP","Nothing to setup yet!\n");
 | 
			
		||||
	Section_prop * section=static_cast<Section_prop *>(sec);
 | 
			
		||||
	if(!section->Get_bool("enabled")) return;
 | 
			
		||||
	if(!section->Get_bool("disney")) return;
 | 
			
		||||
 | 
			
		||||
	IO_RegisterWriteHandler(DISNEY_BASE,disney_write,"DISNEY");
 | 
			
		||||
	IO_RegisterWriteHandler(DISNEY_BASE+1,disney_write,"DISNEY");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue