Skip to content

Commit

Permalink
[#54] MDOS: Minor bugfixes and improvements (Part 1: Changing default…
Browse files Browse the repository at this point in the history
… file attributes from None to RWED)
  • Loading branch information
tomas-nestorovic committed Apr 15, 2020
1 parent a71dfb0 commit 8fba2ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Main/src/MDOS2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
: CSpectrumDos( image, pFormatBoot, TTrackScheme::BY_CYLINDERS, &Properties, IDR_MDOS, &fileManager, TGetFileSizeOptions::OfficialDataLength, TSectorStatus::UNAVAILABLE )
// - initialization
, boot(this) , fileManager(this) , version(AUTODETECT) {
deDefault.attributes=__getProfileInt__(INI_DEFAULT_ATTRIBUTES,0);
deDefault.attributes=__getProfileInt__( INI_DEFAULT_ATTRIBUTES,
TDirectoryEntry::TAttribute::READABLE | TDirectoryEntry::TAttribute::WRITEABLE | TDirectoryEntry::TAttribute::EXECUTABLE | TDirectoryEntry::TAttribute::DELETABLE
);
__recognizeVersion__(); // recognition of MDOS on inserted disk
}

Expand Down

0 comments on commit 8fba2ab

Please sign in to comment.