1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-30 04:50:08 +00:00
CLK/OSBindings/Mac/Clock Signal/Machine/Wrappers/CSAmstradCPC.mm

26 lines
570 B
Plaintext

//
// CSAmstradCPC.m
// Clock Signal
//
// Created by Thomas Harte on 30/07/2017.
// Copyright © 2017 Thomas Harte. All rights reserved.
//
#import "CSAmstradCPC.h"
#include "AmstradCPC.hpp"
#include "TypedDynamicMachine.hpp"
@implementation CSAmstradCPC {
Machine::TypedDynamicMachine<AmstradCPC::Machine> _amstradCPC;
}
- (instancetype)init {
_amstradCPC = Machine::TypedDynamicMachine<AmstradCPC::Machine>(AmstradCPC::Machine::AmstradCPC());
return [super initWithMachine:&_amstradCPC];
}
- (NSString *)userDefaultsPrefix { return @"amstradCPC"; }
@end