enum

Swanium::Core::SaveMedium

Inherits Enum < Comparable < Value < Object

Cartridge metadata lives in the final sixteen bytes of a WonderSwan ROM. Parsing is deliberately independent of file I/O so it is usable from the GUI, command line, and headless tests alike.

Constants

None = 0
Sram8KiB = 1
Sram32KiB = 2
Sram128KiB = 3
Sram256KiB = 4
Sram512KiB = 5
Eeprom128B = 6
Eeprom1KiB = 7
Eeprom2KiB = 8

Instance methods

eeprom128_b?

Returns true if this enum value equals Eeprom128B

Source
eeprom1_ki_b?

Returns true if this enum value equals Eeprom1KiB

Source
eeprom2_ki_b?

Returns true if this enum value equals Eeprom2KiB

Source
none?

Returns true if this enum value equals None

Source
size
Source
sram128_ki_b?

Returns true if this enum value equals Sram128KiB

Source
sram256_ki_b?

Returns true if this enum value equals Sram256KiB

Source
sram32_ki_b?

Returns true if this enum value equals Sram32KiB

Source
sram512_ki_b?

Returns true if this enum value equals Sram512KiB

Source
sram8_ki_b?

Returns true if this enum value equals Sram8KiB

Source
sram?
Source