1
0
Fork 0

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:
ripsaw8080 2016-04-18 13:07:18 +00:00
parent 4555aa279d
commit 2b32f2bfa9
2 changed files with 17 additions and 3 deletions

View file

@ -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);