Created
July 18, 2024 09:09
-
-
Save jarrodnorwell/0e16092fa80b73f4b0c87c32110a02f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@MainActor public struct Guava { | |
public static let shared = Guava() | |
public func insertCartridge(from url: URL) { | |
Core.bootRom(std.string(url.path)) | |
} | |
public func videoBuffer() -> UnsafeMutablePointer<_Framebuffer> { | |
VI.getFramebuffer() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment