dos/exe: saved some bytes in device driver mode

This commit is contained in:
László Molnár
2006-05-18 15:17:53 +02:00
parent 7f76664a5d
commit bd1014abb6
3 changed files with 164 additions and 165 deletions
+1 -1
View File
@@ -539,7 +539,7 @@ void PackExe::pack(OutputFile *fo)
memcpy(loader + 8, ibuf + 8, 2);
// copy original strategy
memcpy(loader + 10, ibuf + 6, 2);
oh.ip = getLoaderSection("EXEENTRY") - 3;
oh.ip = getLoaderSection("EXEENTRY") - 2;
}
//fprintf(stderr,"\ne_len=%x d_len=%x clen=%x oo=%x ulen=%x destp=%x copys=%x images=%x",e_len,d_len,packedsize,ph.overlap_overhead,ph.u_len,destpara,copysize,ih_imagesize);