Cast some Bit8u string to char
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1205
This commit is contained in:
parent
ad6ba002e1
commit
67e1e4d00f
1 changed files with 1 additions and 1 deletions
|
@ -2767,7 +2767,7 @@ Bitu DPMI::API_Int21_MSDOS(void)
|
|||
case 0x40: {/* WRITE Write to file or device */
|
||||
Bit16u towrite = Mask(reg_ecx);
|
||||
MEM_BlockRead(SegPhys(ds)+Mask(reg_edx),dos_copybuf,towrite);
|
||||
if (reg_bx>=5) LOG(LOG_MISC,LOG_ERROR)("INT 21 40: %s",dos_copybuf);
|
||||
if (reg_bx>=5) LOG(LOG_MISC,LOG_ERROR)("INT 21 40: %s",(char *)dos_copybuf);
|
||||
if (DOS_WriteFile(reg_bx,dos_copybuf,&towrite)) {
|
||||
reg_eax=towrite;
|
||||
DPMI_CALLBACK_SCF(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue