mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-22 00:29:41 +00:00
Re-revokes fine scroll on the top two lines when requested.
This commit is contained in:
parent
ca26dfcd61
commit
aac97a8983
@ -650,6 +650,7 @@ void Base::draw_sms(int start, int end) {
|
|||||||
|
|
||||||
// Shift the output window by the fine scroll amount, and fill in
|
// Shift the output window by the fine scroll amount, and fill in
|
||||||
// any border pixels that leaves on the left-hand side.
|
// any border pixels that leaves on the left-hand side.
|
||||||
|
if(row_ >= 16 || !master_system_.horizontal_scroll_lock) {
|
||||||
start -= master_system_.horizontal_scroll & 7;
|
start -= master_system_.horizontal_scroll & 7;
|
||||||
end -= master_system_.horizontal_scroll & 7;
|
end -= master_system_.horizontal_scroll & 7;
|
||||||
if(start < 0) {
|
if(start < 0) {
|
||||||
@ -660,6 +661,7 @@ void Base::draw_sms(int start, int end) {
|
|||||||
}
|
}
|
||||||
if(start == end) return;
|
if(start == end) return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const int shift = start & 7;
|
const int shift = start & 7;
|
||||||
int byte_column = start >> 3;
|
int byte_column = start >> 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user