Prevent problems related to I/O buffering with disk images.
Return a fake success result for INT 13/05. Helps older games (Sierra On-Line booters, Mickey's Space Adventure, Zyll, et al.) that insist on low-level formatting a floppy disk to be used for saving games. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3980
This commit is contained in:
		
							parent
							
								
									4555aa279d
								
							
						
					
					
						commit
						2b32f2bfa9
					
				
					 2 changed files with 17 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -65,7 +65,9 @@ public:
 | 
			
		|||
 | 
			
		||||
	Bit32u sector_size;
 | 
			
		||||
	Bit32u heads,cylinders,sectors;
 | 
			
		||||
private:
 | 
			
		||||
	Bit32u current_fpos;
 | 
			
		||||
	enum { NONE,READ,WRITE } last_action;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void updateDPT(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue