public void Power() { if (MAPPER == null) { throw new System.Exception("No rom loaded"); } Running = !Running; if (Running) { Sleep = Debug ? 0 : 0; MMC = new Memory(this); CPU = new CPU(this); PPU = new PPU(this); APU = new APU(this); MMC.Power(); CPU.Power(); PPU.Power(); APU.Power(); } }