New segment type renamed to "overwrite".

This commit is contained in:
Laubzega
2018-09-08 19:18:41 -07:00
parent c7bb27bac9
commit d293d766ef
4 changed files with 20 additions and 20 deletions

View File

@@ -193,8 +193,8 @@ static void BinWriteMem (BinDesc* D, MemoryArea* M)
NewAddr += M->Start;
}
if (DoWrite || (M->Flags & MF_FILL) != 0) {
/* Seek in "replace" segments */
if (S->Flags & SF_REPLACE) {
/* Seek in "overwrite" segments */
if (S->Flags & SF_OVERWRITE) {
fseek (D->F, NewAddr - M->Start, SEEK_SET);
} else {
WriteMult (D->F, M->FillVal, NewAddr-Addr);