mirror of
https://github.com/Michael-Prince-Sharpe/bsnes-classic.git
synced 2025-04-02 10:21:42 -04:00
30 lines
529 B
C++
30 lines
529 B
C++
struct Configuration {
|
|
Input::Device controller_port1;
|
|
Input::Device controller_port2;
|
|
System::ExpansionPortDevice expansion_port;
|
|
System::Region region;
|
|
|
|
struct CPU {
|
|
unsigned version;
|
|
unsigned ntsc_frequency;
|
|
unsigned pal_frequency;
|
|
unsigned wram_init_value;
|
|
} cpu;
|
|
|
|
struct SMP {
|
|
unsigned ntsc_frequency;
|
|
unsigned pal_frequency;
|
|
} smp;
|
|
|
|
struct PPU1 {
|
|
unsigned version;
|
|
} ppu1;
|
|
|
|
struct PPU2 {
|
|
unsigned version;
|
|
} ppu2;
|
|
|
|
Configuration();
|
|
};
|
|
|
|
extern Configuration config;
|