mirror of
https://github.com/akuker/RASCSI.git
synced 2026-04-26 06:18:10 +00:00
Cleaned up dependencies on controller manager (#964)
* Cleaned up dependencies on controller manager * Removed global fields * Simplified setting up RascsiResponse and RascsiExecutor * Got rid of remaining raw pointers * Use references instead of pointers * Improved encapsulation
This commit is contained in:
@@ -162,7 +162,7 @@ void SCSICD::CreateDataTrack()
|
||||
|
||||
void SCSICD::ReadToc()
|
||||
{
|
||||
controller->SetLength(ReadTocInternal(controller->GetCmd(), controller->GetBuffer()));
|
||||
GetController()->SetLength(ReadTocInternal(GetController()->GetCmd(), GetController()->GetBuffer()));
|
||||
|
||||
EnterDataInPhase();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user