mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-01 01:29:03 +00:00
Merge pull request #701 from TomHarte/TestsSyntax
Corrects syntax errors in test suite.
This commit is contained in:
commit
99415217dc
@ -32,7 +32,7 @@ class DigitalPhaseLockedLoopDelegate: public Storage::DigitalPhaseLockedLoop::De
|
|||||||
- (instancetype)initWithClocksPerBit:(NSUInteger)clocksPerBit historyLength:(NSUInteger)historyLength {
|
- (instancetype)initWithClocksPerBit:(NSUInteger)clocksPerBit historyLength:(NSUInteger)historyLength {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if(self) {
|
if(self) {
|
||||||
_digitalPhaseLockedLoop = std::make_unique<Storage::DigitalPhaseLockedLoop>((unsigned int)clocksPerBit, (unsigned int)historyLength));
|
_digitalPhaseLockedLoop = std::make_unique<Storage::DigitalPhaseLockedLoop>((unsigned int)clocksPerBit, (unsigned int)historyLength);
|
||||||
_delegate.bridge = self;
|
_delegate.bridge = self;
|
||||||
_digitalPhaseLockedLoop->set_delegate(&_delegate);
|
_digitalPhaseLockedLoop->set_delegate(&_delegate);
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ class VanillaVIAPortHandler: public MOS::MOS6522::PortHandler {
|
|||||||
- (instancetype)init {
|
- (instancetype)init {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if(self) {
|
if(self) {
|
||||||
_via = std::make_unique<MOS::MOS6522::MOS6522<VanillaVIAPortHandler>(_viaPortHandler);
|
_via = std::make_unique<MOS::MOS6522::MOS6522<VanillaVIAPortHandler>>(_viaPortHandler);
|
||||||
_viaPortHandler.bridge = self;
|
_viaPortHandler.bridge = self;
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
|
Loading…
Reference in New Issue
Block a user