adapter

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2026 License: GPL-3.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package adapter exposes the erings Saturn core through the eblitui coreif interfaces so it can run under the eblitui desktop UI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

Factory creates Saturn emulator instances and provides system metadata.

func (*Factory) CreateEmulator

func (f *Factory) CreateEmulator() coreif.Emulator

CreateEmulator creates a new Saturn emulator instance. Content is provided afterwards via SetDisc.

func (*Factory) DiscInfo

func (f *Factory) DiscInfo(disc coreif.DiscReader) (coreif.DiscInfo, bool)

DiscInfo implements coreif.DiscIdentifier. It reads the IP header from sector 0 and returns disc-derived facts only: the product number (shared by every disc of a game), the disc number/total from the device-information field, and the game title. It contains no external-catalog (RDB) serial logic.

func (*Factory) SystemInfo

func (f *Factory) SystemInfo() coreif.SystemInfo

SystemInfo returns Saturn system metadata for the UI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL