Swanium::Core::CartridgeImage
Inherits Struct < Value < Object
Constructors
from_bytes(rom : Bytes) : CartridgeImage
Sourcenew(rom : Bytes, header : CartridgeHeader)
SourceInstance methods
header
Sourceidentity
Stable contents identifier used to isolate save states by ROM, rather than by a mutable or ambiguous filename.
model
Sourcerom_snapshot
ROM contents are immutable cartridge input. Return a copy so callers cannot alter the image after its footer and mapper have been accepted.