Ejemplo n.º 1
0
 public TimerValueRegister(GameboyAdvance gba, GbaTimer timer, Memory memory, UInt32 address) :
     base(memory, address, true, false)
 {
     this.gba     = gba;
     this.timer   = timer;
     this.address = address;
 }
Ejemplo n.º 2
0
        public Timers(GameboyAdvance gba)
        {
            this.gba = gba;

            this.Timer = new GbaTimer[4];
            for (int i = 0; i < 4; i++)
            {
                Timer[i] = new GbaTimer(this, gba.Interrupts, i);
            }
        }
Ejemplo n.º 3
0
        public Timers(GameboyAdvance gba)
        {
            this.gba = gba;

            this.Timer = new GbaTimer[4];
            for (int i = 0; i < 4; i++)
            {
                Timer[i] = new GbaTimer(this, gba, i);
            }

            ScheduledUpdateOnCycle = 0xFFFFFFFF;
        }