Attempt to fix bug 1487972
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2623
This commit is contained in:
		
							parent
							
								
									42c95e065b
								
							
						
					
					
						commit
						c473b81217
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -16,7 +16,7 @@
 | 
			
		|||
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/* $Id: drive_local.cpp,v 1.67 2006-04-23 14:20:58 c2woody Exp $ */
 | 
			
		||||
/* $Id: drive_local.cpp,v 1.68 2006-05-14 19:57:24 qbix79 Exp $ */
 | 
			
		||||
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -560,7 +560,7 @@ bool cdromDrive::FileOpen(DOS_File * * file,char * name,Bit32u flags)
 | 
			
		|||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
	bool retcode = localDrive::FileOpen(file,name,flags);
 | 
			
		||||
	((localFile*)(*file))->FlagReadOnlyMedium();
 | 
			
		||||
	if(retcode) (dynamic_cast<localFile*>(*file))->FlagReadOnlyMedium();
 | 
			
		||||
	return retcode;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue