mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-26 19:17:52 +00:00
Adds mapping of READ(8) size 0 to size 256.
This commit is contained in:
@@ -45,6 +45,9 @@ CommandState::ReadWrite CommandState::read_write_specs() const {
|
||||
|
||||
specs.address = address();
|
||||
specs.number_of_blocks = number_of_blocks();
|
||||
if(!specs.number_of_blocks && (data_.size() == 6)) {
|
||||
specs.number_of_blocks = 256;
|
||||
}
|
||||
|
||||
return specs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user