Another format change: Record the output file and offset for each segment
written to the output. Make this information available in the debug info file. git-svn-id: svn://svn.cc65.org/cc65/trunk@4797 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -225,7 +225,7 @@ static void BinWriteMem (BinDesc* D, Memory* M)
|
||||
if (DoWrite) {
|
||||
unsigned long P = ftell (D->F);
|
||||
S->Seg->FillVal = M->FillVal;
|
||||
SegWrite (D->F, S->Seg, BinWriteExpr, D);
|
||||
SegWrite (D->Filename, D->F, S->Seg, BinWriteExpr, D);
|
||||
PrintNumVal ("Wrote", (unsigned long) (ftell (D->F) - P));
|
||||
} else if (M->Flags & MF_FILL) {
|
||||
WriteMult (D->F, M->FillVal, S->Seg->Size);
|
||||
|
||||
Reference in New Issue
Block a user