mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-11 09:29:53 +00:00
Updated block size handling
This commit is contained in:
parent
72b2ba93ff
commit
8571a5c735
@ -306,7 +306,7 @@ const PbDevices GetDevices()
|
|||||||
status->set_locked(device->IsLocked());
|
status->set_locked(device->IsLocked());
|
||||||
|
|
||||||
const Disk *disk = dynamic_cast<Disk*>(device);
|
const Disk *disk = dynamic_cast<Disk*>(device);
|
||||||
if (disk && disk->IsSectorSizeConfigurable()) {
|
if (disk) {
|
||||||
pbDevice->set_block_size(disk->GetSectorSizeInBytes());
|
pbDevice->set_block_size(disk->GetSectorSizeInBytes());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user