warning fixes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3375
This commit is contained in:
parent
cfd261d319
commit
177f197961
2 changed files with 9 additions and 9 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: dos_misc.cpp,v 1.21 2008-10-05 14:44:52 qbix79 Exp $ */
|
||||
/* $Id: dos_misc.cpp,v 1.22 2009-04-28 18:47:04 c2woody Exp $ */
|
||||
|
||||
#include "dosbox.h"
|
||||
#include "callback.h"
|
||||
|
@ -88,12 +88,12 @@ static bool DOS_MultiplexFunctions(void) {
|
|||
} else {
|
||||
Bit8u drive=Files[reg_bx]->GetDrive();
|
||||
|
||||
mem_writew(sftptr+sftofs+0x02,Files[reg_bx]->flags&3); // file open mode
|
||||
mem_writeb(sftptr+sftofs+0x04,(Bit8u)(Files[reg_bx]->attr)); // file attribute
|
||||
mem_writew(sftptr+sftofs+0x05,0x40|drive); // device info word
|
||||
mem_writed(sftptr+sftofs+0x07,RealMake(dos.tables.dpb,drive)); // dpb of the drive
|
||||
mem_writew(sftptr+sftofs+0x0d,Files[reg_bx]->time); // packed file time
|
||||
mem_writew(sftptr+sftofs+0x0f,Files[reg_bx]->date); // packed file date
|
||||
mem_writew(sftptr+sftofs+0x02,(Bit16u)(Files[reg_bx]->flags&3)); // file open mode
|
||||
mem_writeb(sftptr+sftofs+0x04,(Bit8u)(Files[reg_bx]->attr)); // file attribute
|
||||
mem_writew(sftptr+sftofs+0x05,0x40|drive); // device info word
|
||||
mem_writed(sftptr+sftofs+0x07,RealMake(dos.tables.dpb,drive)); // dpb of the drive
|
||||
mem_writew(sftptr+sftofs+0x0d,Files[reg_bx]->time); // packed file time
|
||||
mem_writew(sftptr+sftofs+0x0f,Files[reg_bx]->date); // packed file date
|
||||
Bit32u curpos=0;
|
||||
Files[reg_bx]->Seek(&curpos,DOS_SEEK_CUR);
|
||||
Bit32u endpos=0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue