1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-09-28 09:54:49 +00:00

This now gets as far as missing selectors.

This commit is contained in:
Thomas Harte 2016-06-04 21:49:03 -04:00
parent eff28e95a4
commit 06e1db8c85
3 changed files with 13 additions and 2 deletions

View File

@ -21,4 +21,16 @@ class Vic20Document: MachineDocument {
self.intendedCyclesPerSecond = 1022727
// TODO: or 1108405 for PAL; see http://www.antimon.org/dl/c64/code/stable.txt
}
override class func autosavesInPlace() -> Bool {
return true
}
override var windowNibName: String? {
return "Vic20Document"
}
override func readFromData(data: NSData, ofType typeName: String) throws {
print("\(data.length)")
}
}

View File

@ -86,7 +86,7 @@
<key>LSTypeIsPackage</key>
<integer>0</integer>
<key>NSDocumentClass</key>
<string>Vic20Document</string>
<string>$(PRODUCT_MODULE_NAME).Vic20Document</string>
</dict>
</array>
<key>CFBundleExecutable</key>

View File

@ -88,5 +88,4 @@ struct SpeakerDelegate: public Outputs::Speaker::Delegate {
self.machine->get_crt()->draw_frame((unsigned int)pixelSize.width, (unsigned int)pixelSize.height, onlyIfDirty ? true : false);
}
@end