struct

Swanium::Core::CartridgeImage

Inherits Struct < Value < Object

Constructors

from_bytes(rom : Bytes) : CartridgeImage
Source
new(rom : Bytes, header : CartridgeHeader)
Source

Instance methods

header
Source
identity

Stable contents identifier used to isolate save states by ROM, rather than by a mutable or ambiguous filename.

Source
model
Source
rom_snapshot

ROM contents are immutable cartridge input. Return a copy so callers cannot alter the image after its footer and mapper have been accepted.

Source