mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-10 22:37:30 +00:00
Reduce repetition, tidy slightly.
This commit is contained in:
parent
d3c446d91b
commit
2d6afe1013
@ -646,13 +646,7 @@ template <Personality personality> struct Base: public Storage<personality> {
|
||||
ram_[address] = Storage<personality>::command_latch_;
|
||||
|
||||
Storage<personality>::command_->advance();
|
||||
|
||||
if(Storage<personality>::command_->done()) {
|
||||
Storage<personality>::command_ = nullptr;
|
||||
Storage<personality>::next_command_step_ = CommandStep::None;
|
||||
} else {
|
||||
Storage<personality>::update_command_step(access_column);
|
||||
}
|
||||
Storage<personality>::update_command_step(access_column);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
@ -196,11 +196,11 @@ struct LogicalMoveFromCPU: public Command {
|
||||
|
||||
if(!context.size.v[0]) {
|
||||
cycles = 64;
|
||||
++location.v[1];
|
||||
--context.size.v[1];
|
||||
|
||||
context.size.v[0] = width_;
|
||||
location.v[0] = start_x_;
|
||||
|
||||
++location.v[1];
|
||||
--context.size.v[1];
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user