mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-28 06:29:37 +00:00
Corrects failure of expression in track size expansion.
This commit is contained in:
parent
dfa5eef20d
commit
0055efb720
@ -68,7 +68,7 @@ std::shared_ptr<Track> AppleDSK::get_track_at_position(Track::Address address) {
|
|||||||
|
|
||||||
// Pad if necessary.
|
// Pad if necessary.
|
||||||
if(segment.number_of_bits < 50000) {
|
if(segment.number_of_bits < 50000) {
|
||||||
segment += Encodings::AppleGCR::six_and_two_sync((50000 - segment.number_of_bits) >> 3);
|
segment += Encodings::AppleGCR::six_and_two_sync((50000 - segment.number_of_bits) / 10);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user