Example #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;
 }
Example #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);
            }
        }
Example #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;
        }