OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[VM][General] Merge Upstream 20180530.
[csp-qt/common_source_project-fm7.git]
/
source
/
src
/
vm
/
scsi_cdrom.h
diff --git
a/source/src/vm/scsi_cdrom.h
b/source/src/vm/scsi_cdrom.h
index
6b4a47b
..
d7a03fd
100644
(file)
--- a/
source/src/vm/scsi_cdrom.h
+++ b/
source/src/vm/scsi_cdrom.h
@@
-63,6
+63,7
@@
public:
my_sprintf_s(product_id, 17, "SCSI-CDROM");
device_type = 0x05; // CD-ROM drive
is_removable = true;
my_sprintf_s(product_id, 17, "SCSI-CDROM");
device_type = 0x05; // CD-ROM drive
is_removable = true;
+ is_hot_swappable = false;
// seek_time = 400000; // 400msec (temporary)
seek_time = 10.0;
bytes_per_sec = 2048 * 75; // speed x1
// seek_time = 400000; // 400msec (temporary)
seek_time = 10.0;
bytes_per_sec = 2048 * 75; // speed x1
@@
-105,7
+106,7
@@
public:
}
int get_command_length(int value);
void start_command();
}
int get_command_length(int value);
void start_command();
-
void
read_buffer(int length);
+
bool
read_buffer(int length);
// unique functions
void set_context_done(DEVICE* device, int id, uint32_t mask)
// unique functions
void set_context_done(DEVICE* device, int id, uint32_t mask)