diff --git a/Components/9918/Implementation/ClockConverter.hpp b/Components/9918/Implementation/ClockConverter.hpp index 20d71260d..344b6fbef 100644 --- a/Components/9918/Implementation/ClockConverter.hpp +++ b/Components/9918/Implementation/ClockConverter.hpp @@ -160,12 +160,12 @@ template struct LineLayout struct LineLayout event(int grauw_index) { // Capture various one-in-eight zones. @@ -254,7 +254,7 @@ struct YamahaFetcher { return std::nullopt; } }; - + struct CharacterGenerator { static constexpr std::optional event(int grauw_index) { // Grab sprite events. diff --git a/Components/OPx/Implementation/LowFrequencyOscillator.hpp b/Components/OPx/Implementation/LowFrequencyOscillator.hpp index 5c53eac29..e79953b34 100644 --- a/Components/OPx/Implementation/LowFrequencyOscillator.hpp +++ b/Components/OPx/Implementation/LowFrequencyOscillator.hpp @@ -53,7 +53,7 @@ class LowFrequencyOscillator { /// Updartes the LFSR output. Should be called at the input clock rate. void update_lfsr() { - lfsr = noise_source_.next(); + lfsr = noise_source_.next(); } private: diff --git a/InstructionSets/PowerPC/Decoder.cpp b/InstructionSets/PowerPC/Decoder.cpp index bcb619866..3c0c1796e 100644 --- a/InstructionSets/PowerPC/Decoder.cpp +++ b/InstructionSets/PowerPC/Decoder.cpp @@ -326,7 +326,7 @@ Instruction Decoder::decode(uint32_t opcode) { Bind(Six(0b001010), cmpli); Bind(Six(0b001011), cmpi); } - + // Second pass: all those with a top six bits and a bottom nine or ten. switch(opcode & SixTen(0b111111, 0b1111111111)) { default: break; diff --git a/Machines/Amiga/Amiga.cpp b/Machines/Amiga/Amiga.cpp index 5ad0a7bca..8d08e63d1 100644 --- a/Machines/Amiga/Amiga.cpp +++ b/Machines/Amiga/Amiga.cpp @@ -186,7 +186,7 @@ class ConcreteMachine: // MARK: - Chipset. Chipset chipset_; - + // MARK: - Activity Source void set_activity_observer(Activity::Observer *observer) final { diff --git a/OSBindings/Mac/Clock Signal/Joystick Manager/CSJoystickManager.m b/OSBindings/Mac/Clock Signal/Joystick Manager/CSJoystickManager.m index 89540fd76..3fd0407f4 100644 --- a/OSBindings/Mac/Clock Signal/Joystick Manager/CSJoystickManager.m +++ b/OSBindings/Mac/Clock Signal/Joystick Manager/CSJoystickManager.m @@ -469,7 +469,7 @@ static void DeviceRemoved(void *context, IOReturn result, void *sender, IOHIDDev - (void)controllerDidConnect:(NSNotification *)note { GCController *controller = note.object; - + // Double check this joystick isn't already known. for(CSGCJoystick *joystick in _joysticks) { if (![joystick isKindOfClass:[CSGCJoystick class]]) { @@ -491,23 +491,23 @@ static void DeviceRemoved(void *context, IOReturn result, void *sender, IOHIDDev [buttons addObject:[[CSGCJoystickButton alloc] initWithButton:gp.buttonB index:2]]; [buttons addObject:[[CSGCJoystickButton alloc] initWithButton:gp.buttonX index:3]]; [buttons addObject:[[CSGCJoystickButton alloc] initWithButton:gp.buttonY index:4]]; - + [hats addObject:[[CSGCJoystickHat alloc] initWithDirectionPad:gp.dpad]]; - + [axes addObject:[[CSGCJoystickAxis alloc] initWithAxis:gp.leftThumbstick.xAxis type:CSJoystickAxisTypeX]]; [axes addObject:[[CSGCJoystickAxis alloc] initWithAxis:gp.leftThumbstick.yAxis type:CSJoystickAxisTypeY]]; [axes addObject:[[CSGCJoystickAxis alloc] initWithAxis:gp.rightThumbstick.xAxis type:CSJoystickAxisTypeZ]]; } else { return; } - + // Add this joystick to the list. [_joysticks addObject:[[CSGCJoystick alloc] initWithButtons:buttons axes:axes hats:hats device:controller]]; } - (void)controllerDidDisconnect:(NSNotification *)note { GCController *controller = note.object; - + // If this joystick was recorded, remove it. for(CSGCJoystick *joystick in [_joysticks copy]) { if (![joystick isKindOfClass:[CSGCJoystick class]]) { diff --git a/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md b/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md index 2703f97ec..d26e39c01 100644 --- a/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md +++ b/OSBindings/Mac/Clock SignalTests/IIgs Memory Map/readme.md @@ -93,4 +93,4 @@ Starting from a default value of `false`, that means: * memory remained un-[shadowed/IO] for until page 4 (i.e. pages 0–3); * it was then marked as [shadowed/IO] until page 12 (i.e. pages 4–11); * it was then un-[shadowed/IO] to page 32; -* ...etc. \ No newline at end of file +* ...etc. diff --git a/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm b/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm index 5ddad5608..58ebbe4d8 100644 --- a/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm +++ b/OSBindings/Mac/Clock SignalTests/IIgsMemoryMapTests.mm @@ -154,7 +154,7 @@ namespace { [self write:value address:c]; XCTAssertEqual(_ram[c], value); } - + // Reset. memset(_ram.data(), 0, 128*1024); diff --git a/Outputs/OpenGL/ScanTargetGLSLFragments.cpp b/Outputs/OpenGL/ScanTargetGLSLFragments.cpp index bdfd5649a..70432da83 100644 --- a/Outputs/OpenGL/ScanTargetGLSLFragments.cpp +++ b/Outputs/OpenGL/ScanTargetGLSLFragments.cpp @@ -316,7 +316,7 @@ std::unique_ptr ScanTarget::conversion_shader() const { "out float compositeAngle;" "out float compositeAmplitude;" "out float oneOverCompositeAmplitude;" - + "uniform float angleOffsets[4];"; fragment_shader += "in float compositeAngle;" diff --git a/Processors/6502/AllRAM/6502AllRAM.hpp b/Processors/6502/AllRAM/6502AllRAM.hpp index fbf40daca..420e2633c 100644 --- a/Processors/6502/AllRAM/6502AllRAM.hpp +++ b/Processors/6502/AllRAM/6502AllRAM.hpp @@ -28,8 +28,6 @@ class AllRAMProcessor: virtual uint16_t value_of(Register r) = 0; virtual void set_value_of(Register r, uint16_t value) = 0; - - protected: AllRAMProcessor(size_t memory_size) : ::CPU::AllRAMProcessor(memory_size) {} }; diff --git a/Storage/MassStorage/SCSI/SCSI.hpp b/Storage/MassStorage/SCSI/SCSI.hpp index e50bdc47a..c1ca512fc 100644 --- a/Storage/MassStorage/SCSI/SCSI.hpp +++ b/Storage/MassStorage/SCSI/SCSI.hpp @@ -20,7 +20,7 @@ namespace SCSI { /// Provides the current state of the SCSI bus, being comprised of a bitwise combination -/// of zero or more of the @c BusState flags defined below. +/// of zero or more of the @c BusState flags defined below. typedef int BusState; constexpr BusState DefaultBusState = 0;