mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-21 23:29:51 +00:00
scsicdrom: Rename read_capacity_10.
Like scsihd.
This commit is contained in:
parent
a605c435b6
commit
5a54b6a761
@ -117,7 +117,7 @@ void ScsiCdrom::process_command()
|
||||
this->switch_phase(ScsiPhase::STATUS);
|
||||
break;
|
||||
case ScsiCommand::READ_CAPACITY_10:
|
||||
this->read_capacity();
|
||||
this->read_capacity_10();
|
||||
break;
|
||||
case ScsiCommand::READ_10:
|
||||
lba = READ_DWORD_BE_U(&cmd[2]);
|
||||
@ -363,7 +363,7 @@ void ScsiCdrom::read_toc()
|
||||
this->switch_phase(ScsiPhase::DATA_IN);
|
||||
}
|
||||
|
||||
void ScsiCdrom::read_capacity()
|
||||
void ScsiCdrom::read_capacity_10()
|
||||
{
|
||||
uint32_t lba = READ_DWORD_BE_U(&this->cmd_buf[2]);
|
||||
|
||||
|
@ -51,7 +51,7 @@ protected:
|
||||
void inquiry();
|
||||
void mode_sense();
|
||||
void read_toc();
|
||||
void read_capacity();
|
||||
void read_capacity_10();
|
||||
|
||||
private:
|
||||
bool eject_allowed = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user