2009-05-12 22:20:41 +02:00

34 lines
581 B
C++
Executable File

struct Configuration {
unsigned controller_port1;
unsigned controller_port2;
unsigned expansion_port;
unsigned region;
struct CPU {
unsigned version;
unsigned ntsc_clock_rate;
unsigned pal_clock_rate;
unsigned alu_mul_delay;
unsigned alu_div_delay;
unsigned wram_init_value;
} cpu;
struct SMP {
unsigned ntsc_clock_rate;
unsigned pal_clock_rate;
} smp;
struct PPU1 {
unsigned version;
} ppu1;
struct PPU2 {
unsigned version;
} ppu2;
Configuration();
};
extern Configuration config;