Removed wrong inheritance of SCDP and SCBR from Disk class (#948)

* Fixed TODOs, updated SCBR and SCDP

* Introduced ByteWriter interface

* Use accessors instead of directly accessing length/block fields
This commit is contained in:
Uwe Seimet
2022-10-29 18:10:00 +02:00
committed by GitHub
parent c1f63c6745
commit 6e35577368
20 changed files with 148 additions and 169 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ void SCSICD::CreateDataTrack()
void SCSICD::ReadToc()
{
ctrl->length = ReadTocInternal(ctrl->cmd, controller->GetBuffer());
controller->SetLength(ReadTocInternal(ctrl->cmd, controller->GetBuffer()));
EnterDataInPhase();
}