mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-23 20:29:42 +00:00
Added forwarding of a loaded PRG from the Swift document to the wrapper. So I think that possibly completes the Swift side of things?
This commit is contained in:
parent
8052ce9223
commit
b29b2a5d08
@ -42,6 +42,6 @@ class Vic20Document: MachineDocument {
|
||||
}
|
||||
|
||||
override func readFromData(data: NSData, ofType typeName: String) throws {
|
||||
print("\(data.length)")
|
||||
vic20.setPRG(data)
|
||||
}
|
||||
}
|
||||
|
@ -14,6 +14,6 @@
|
||||
- (void)setKernelROM:(nonnull NSData *)rom;
|
||||
- (void)setBASICROM:(nonnull NSData *)rom;
|
||||
- (void)setCharactersROM:(nonnull NSData *)rom;
|
||||
- (void)setROM:(nonnull NSData *)rom address:(uint16_t)address;
|
||||
- (void)setPRG:(nonnull NSData *)rom;
|
||||
|
||||
@end
|
||||
|
@ -27,7 +27,7 @@
|
||||
- (void)setCharactersROM:(nonnull NSData *)rom {
|
||||
}
|
||||
|
||||
- (void)setROM:(nonnull NSData *)rom address:(uint16_t)address {
|
||||
- (void)setPRG:(nonnull NSData *)rom address:(uint16_t)address {
|
||||
}
|
||||
|
||||
- (void)setKey:(uint16_t)key isPressed:(BOOL)isPressed {
|
||||
|
Loading…
Reference in New Issue
Block a user