#ifdef SYSTEM_CPP

Configuration config;

Configuration::Configuration() {
  controller_port1.i = Input::Device::Joypad;
  controller_port2.i = Input::Device::Joypad;
  expansion_port.i   = System::ExpansionPortDevice::BSX;
  region.i           = System::Region::Autodetect;

  cpu.version         = 2;
  cpu.ntsc_frequency  = 21477272;  //315 / 88 * 6000000
  cpu.pal_frequency   = 21281370;
  cpu.wram_init_value = 0x55;

  smp.ntsc_frequency = 24607104;   //32040.5 * 768
  smp.pal_frequency  = 24607104;

  ppu1.version = 1;
  ppu2.version = 3;

  superfx.speed = 0;  //0 = auto-select, 1 = force 10.74MHz, 2 = force 21.48MHz
}

#endif
