static void Main(string[] args) { ROMManager.SetMapper(new Mapper000()); ROMManager.AddPrgBank(0, (id, bank) => { EngineStuff(id, bank); Scenes(id, bank); }); ROMManager.AddChrBank(0, (id, bank) => { Include.File(@"chr/sp-plain.chr"); }); var engine = Module <Engine>(); ROMManager.SetInterrupts(engine.NMI, engine.Reset, engine.IRQ); ROMManager.WriteToFile(@"flicker-test"); }