mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-23 21:29:00 +00:00
scsi_hd: fix notify() method.
This commit is contained in:
parent
eeb576a927
commit
9efac80271
@ -54,11 +54,6 @@ ScsiHardDisk::ScsiHardDisk(int my_id) : ScsiDevice(my_id)
|
||||
this->hdd_img.seekg(0, std::ios_base::beg);
|
||||
}
|
||||
|
||||
void ScsiHardDisk::notify(ScsiMsg msg_type, int param)
|
||||
{
|
||||
LOG_F(INFO, "SCSI_HD: message of type %d received", msg_type);
|
||||
}
|
||||
|
||||
int ScsiHardDisk::test_unit_ready() {
|
||||
if (img_path.empty() || img_path == " ") {
|
||||
return ScsiError::DEV_NOT_READY;
|
||||
@ -144,4 +139,4 @@ void ScsiHardDisk::rewind() {
|
||||
static const PropMap SCSI_HD_Properties = {
|
||||
{"hdd_img", new StrProperty("")},
|
||||
{"hdd_wr_prot", new BinProperty(0)},
|
||||
};
|
||||
};
|
||||
|
@ -66,4 +66,4 @@ protected:
|
||||
char serial_info[8] = {'0', '0', '0', '0', '0', '0', '0', '0'};
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user