Skip to content

Commit

Permalink
[#69] GDOS: Minor bugfixes and improvements (Part 2: Must not propaga…
Browse files Browse the repository at this point in the history
…te GDOS-specific disk information to Spectrum tapes)
  • Loading branch information
tomas-nestorovic committed Sep 12, 2023
1 parent 05d8d07 commit 51802bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Main/src/SpectrumDos_Tape.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "stdafx.h"
#include "MDOS2.h"

#define INI_MSG _T("tapeinit")

Expand All @@ -25,8 +26,8 @@

CSpectrumDos::CTape::CTape(LPCTSTR fileName,const CSpectrumDos *diskDos,bool makeCurrentTab)
// ctor
// - base
: CSpectrumBase( this, &TapeFormat, TTrackScheme::BY_CYLINDERS, diskDos->properties, 0, &fileManager, TGetFileSizeOptions::OfficialDataLength, TSectorStatus::UNAVAILABLE )
// - base (using Properties of a Spectrum DOS that has no specific disk features that might be wrongly propagated to hexa-browser, for instance)
: CSpectrumBase( this, &TapeFormat, TTrackScheme::BY_CYLINDERS, &CMDOS2::Properties, 0, &fileManager, TGetFileSizeOptions::OfficialDataLength, TSectorStatus::UNAVAILABLE )
, CImageRaw(&CImageRaw::Properties,false) // "some" Image
// - initialization
, fileManager( this, diskDos->zxRom, fileName, makeCurrentTab ) {
Expand Down

0 comments on commit 51802bb

Please sign in to comment.