mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-14 13:33:42 +00:00
26 lines
486 B
Plaintext
26 lines
486 B
Plaintext
//
|
|
// CSMSX.m
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 03/12/2017.
|
|
// Copyright © 2017 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#import "CSMSX.h"
|
|
|
|
#include "MSX.hpp"
|
|
#include "TypedDynamicMachine.hpp"
|
|
|
|
@implementation CSMSX {
|
|
Machine::TypedDynamicMachine<MSX::Machine> _msx;
|
|
}
|
|
|
|
- (instancetype)init {
|
|
_msx = Machine::TypedDynamicMachine<MSX::Machine>(MSX::Machine::MSX());
|
|
return [super initWithMachine:&_msx];
|
|
}
|
|
|
|
- (NSString *)userDefaultsPrefix { return @"MSX"; }
|
|
|
|
@end
|