1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-09 01:29:44 +00:00

Remove various instances of ';;'.

This commit is contained in:
Thomas Harte 2024-02-12 14:23:54 -05:00
parent 3d2d9ac45e
commit f14e45f93e
7 changed files with 7 additions and 7 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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:

View File

@ -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();

View File

@ -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());

View File

@ -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;

View File

@ -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));