public Joypad(GameboyAdvance gba) { this.gba = gba; JoypadRegister r0 = new JoypadRegister(this, gba.Memory, 0x4000130); JoypadRegister r1 = new JoypadRegister(this, gba.Memory, 0x4000131); register = new MemoryRegister16(gba.Memory, 0x4000130, true, false, r0, r1); }
public Joypad(JoypadRegister register) { this.register = register; }