mirror of
https://github.com/Luigi30/FruitMachine-Swift.git
synced 2025-02-16 23:31:01 +00:00
19 lines
393 B
Swift
19 lines
393 B
Swift
|
//
|
||
|
// EmulatedSystem.swift
|
||
|
// FruitMachine
|
||
|
//
|
||
|
// Created by Christopher Rohl on 8/1/17.
|
||
|
// Copyright © 2017 Christopher Rohl. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Cocoa
|
||
|
|
||
|
protocol EmulatedSystem {
|
||
|
var CPU_FREQUENCY: Double { get }
|
||
|
var FRAMES_PER_SECOND: Double { get }
|
||
|
var CYCLES_PER_BATCH: Int { get }
|
||
|
|
||
|
init(cpuFrequency: Double, fps: Double)
|
||
|
func installOverrides()
|
||
|
}
|