mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-24 12:30:20 +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());
|
||||
|
||||
const Disk *disk = dynamic_cast<Disk*>(device);
|
||||
if (disk && disk->IsSectorSizeConfigurable()) {
|
||||
if (disk) {
|
||||
pbDevice->set_block_size(disk->GetSectorSizeInBytes());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user