mirror of
https://github.com/libretro/bsnes-libretro-cplusplus98.git
synced 2025-04-08 21:38:26 +00:00
27 lines
730 B
C++
27 lines
730 B
C++
#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;
|
|
random = false; // Do this for now until there is an interface for libsnes.
|
|
|
|
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
|