+void emu_prepareDefaultConfig(void)
+{
+ memset(&defaultConfig, 0, sizeof(defaultConfig));
+ defaultConfig.EmuOpt = 0x1d | 0x680; // | <- confirm_save, cd_leds, acc rend
+ defaultConfig.s_PicoOpt = 0x0f | POPT_EN_MCD_PCM|POPT_EN_MCD_CDDA|POPT_EN_MCD_GFX|POPT_ACC_SPRITES;
+ defaultConfig.s_PsndRate = 22050;
+ defaultConfig.s_PicoRegion = 0; // auto
+ defaultConfig.s_PicoAutoRgnOrder = 0x184; // US, EU, JP
+ defaultConfig.s_PicoCDBuffers = 64;
+ defaultConfig.Frameskip = -1; // auto
+ defaultConfig.CPUclock = 333;
+ defaultConfig.KeyBinds[ 4] = 1<<0; // SACB RLDU
+ defaultConfig.KeyBinds[ 6] = 1<<1;
+ defaultConfig.KeyBinds[ 7] = 1<<2;
+ defaultConfig.KeyBinds[ 5] = 1<<3;
+ defaultConfig.KeyBinds[14] = 1<<4;
+ defaultConfig.KeyBinds[13] = 1<<5;
+ defaultConfig.KeyBinds[15] = 1<<6;
+ defaultConfig.KeyBinds[ 3] = 1<<7;
+ defaultConfig.KeyBinds[12] = 1<<26; // switch rnd
+ defaultConfig.KeyBinds[ 8] = 1<<27; // save state
+ defaultConfig.KeyBinds[ 9] = 1<<28; // load state
+ defaultConfig.KeyBinds[28] = 1<<0; // num "buttons"
+ defaultConfig.KeyBinds[30] = 1<<1;
+ defaultConfig.KeyBinds[31] = 1<<2;
+ defaultConfig.KeyBinds[29] = 1<<3;
+ defaultConfig.scaling = 1; // bilinear filtering for psp
+ defaultConfig.scale = 1.20; // fullscreen
+ defaultConfig.hscale40 = 1.25;
+ defaultConfig.hscale32 = 1.56;
+ defaultConfig.turbo_rate = 15;
+}
+