nes ~master (2018-10-31T13:31:58Z)
Dub
Repo
Cartridge
nes
cartridge
Undocumented in source.
class
Cartridge {
ubyte
[]
prg
;
ubyte
[]
chr
;
ubyte
[]
sram
;
ubyte
mapper
;
ubyte
mirror
;
ubyte
battery
;
bool
chrIsRam
;
this
(ubyte[] prg, ubyte[] chr, ubyte mapper, ubyte mirror, ubyte battery, bool chrIsRam);
void
save
(string[string] state);
void
load
(string[string] state);
}
Constructors
this
this
(ubyte[] prg, ubyte[] chr, ubyte mapper, ubyte mirror, ubyte battery, bool chrIsRam)
Undocumented in source.
Members
Functions
load
void
load
(string[string] state)
Undocumented in source. Be warned that the author may not have intended to support it.
save
void
save
(string[string] state)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
battery
ubyte
battery
;
Undocumented in source.
chr
ubyte
[]
chr
;
Undocumented in source.
chrIsRam
bool
chrIsRam
;
Undocumented in source.
mapper
ubyte
mapper
;
Undocumented in source.
mirror
ubyte
mirror
;
Undocumented in source.
prg
ubyte
[]
prg
;
Undocumented in source.
sram
ubyte
[]
sram
;
Undocumented in source.
Meta
Source
See Implementation
nes
cartridge
classes
Cartridge