Skip to content

Instantly share code, notes, and snippets.

@jarrodnorwell
Created July 18, 2024 09:09
Show Gist options
  • Save jarrodnorwell/0e16092fa80b73f4b0c87c32110a02f9 to your computer and use it in GitHub Desktop.
Save jarrodnorwell/0e16092fa80b73f4b0c87c32110a02f9 to your computer and use it in GitHub Desktop.
@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