예제 #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;
 }
예제 #2
0
파일: Timers.cs 프로젝트: 5l1v3r1/Y2Gba
        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);
            }
        }
예제 #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;
        }