mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Remove various instances of ';;'.
This commit is contained in:
parent
3d2d9ac45e
commit
f14e45f93e
@ -221,7 +221,7 @@ class ConcreteMachine:
|
|||||||
// MARK: - MachineTypes::MouseMachine.
|
// MARK: - MachineTypes::MouseMachine.
|
||||||
|
|
||||||
Inputs::Mouse &get_mouse() final {
|
Inputs::Mouse &get_mouse() final {
|
||||||
return chipset_.get_mouse();;
|
return chipset_.get_mouse();
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - MachineTypes::JoystickMachine.
|
// MARK: - MachineTypes::JoystickMachine.
|
||||||
|
@ -108,7 +108,7 @@ uint8_t GLU::get_data() {
|
|||||||
|
|
||||||
switch(address & 0xe0) {
|
switch(address & 0xe0) {
|
||||||
case 0x00: return local_.oscillators[address & 0x1f].velocity & 0xff;
|
case 0x00: return local_.oscillators[address & 0x1f].velocity & 0xff;
|
||||||
case 0x20: return local_.oscillators[address & 0x1f].velocity >> 8;;
|
case 0x20: return local_.oscillators[address & 0x1f].velocity >> 8;
|
||||||
case 0x40: return local_.oscillators[address & 0x1f].volume;
|
case 0x40: return local_.oscillators[address & 0x1f].volume;
|
||||||
case 0x60: return local_.oscillators[address & 0x1f].sample(local_.ram_); // i.e. look up what the sample was on demand.
|
case 0x60: return local_.oscillators[address & 0x1f].sample(local_.ram_); // i.e. look up what the sample was on demand.
|
||||||
case 0x80: return local_.oscillators[address & 0x1f].address;
|
case 0x80: return local_.oscillators[address & 0x1f].address;
|
||||||
|
@ -28,7 +28,7 @@ class DriveSpeedAccumulator {
|
|||||||
Sets the delegate to receive drive speed changes.
|
Sets the delegate to receive drive speed changes.
|
||||||
*/
|
*/
|
||||||
void set_delegate(Delegate *delegate) {
|
void set_delegate(Delegate *delegate) {
|
||||||
delegate_ = delegate;;
|
delegate_ = delegate;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -562,7 +562,7 @@ int main(int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
std::cout << "." << std::endl << std::endl;
|
std::cout << "." << std::endl << std::endl;
|
||||||
|
|
||||||
std::cout << "Further machine options:" << std::endl << std::endl;;
|
std::cout << "Further machine options:" << std::endl << std::endl;
|
||||||
|
|
||||||
const auto targets = Machine::TargetsByMachineName(false);
|
const auto targets = Machine::TargetsByMachineName(false);
|
||||||
const auto runtime_options = Machine::AllOptionsByMachineName();
|
const auto runtime_options = Machine::AllOptionsByMachineName();
|
||||||
|
@ -793,7 +793,7 @@ template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler,
|
|||||||
assert(data_buffer_.size == 2 - m_flag());
|
assert(data_buffer_.size == 2 - m_flag());
|
||||||
++data_buffer_.value;
|
++data_buffer_.value;
|
||||||
registers_.flags.set_nz(uint16_t(data_buffer_.value), registers_.m_shift);
|
registers_.flags.set_nz(uint16_t(data_buffer_.value), registers_.m_shift);
|
||||||
break;;
|
break;
|
||||||
|
|
||||||
case DEC:
|
case DEC:
|
||||||
assert(data_buffer_.size == 2 - m_flag());
|
assert(data_buffer_.size == 2 - m_flag());
|
||||||
|
@ -110,7 +110,7 @@ template <> bool Reflection::set(Struct &target, const std::string &name, bool v
|
|||||||
if(!target_type) return false;
|
if(!target_type) return false;
|
||||||
|
|
||||||
if(*target_type == typeid(bool)) {
|
if(*target_type == typeid(bool)) {
|
||||||
target.set(name, &value, offset);;
|
target.set(name, &value, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -37,7 +37,7 @@ void Parser::install_track(const Storage::Disk::Track::Address &address) {
|
|||||||
// Just try all three in succession.
|
// Just try all three in succession.
|
||||||
append(parse_track(*track, Density::Single), sectors_by_id);
|
append(parse_track(*track, Density::Single), sectors_by_id);
|
||||||
append(parse_track(*track, Density::Double), sectors_by_id);
|
append(parse_track(*track, Density::Double), sectors_by_id);
|
||||||
append(parse_track(*track, Density::High), sectors_by_id);;
|
append(parse_track(*track, Density::High), sectors_by_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
sectors_by_address_by_track_.emplace(address, std::move(sectors_by_id));
|
sectors_by_address_by_track_.emplace(address, std::move(sectors_by_id));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user