- memset(¤tConfig, 0, sizeof(currentConfig));
- currentConfig.lastRomFile[0] = 0;
- currentConfig.EmuOpt = 0x1f | 0x680; // | confirm_save, cd_leds, 16bit rend
- currentConfig.PicoOpt = 0x0f | 0xc00; // | cd_pcm, cd_cdda
- currentConfig.PsndRate = 22050;
- currentConfig.PicoRegion = 0; // auto
- currentConfig.PicoAutoRgnOrder = 0x184; // US, EU, JP
- currentConfig.Frameskip = -1; // auto
- currentConfig.volume = 50;
- currentConfig.CPUclock = 333;
- currentConfig.KeyBinds[ 4] = 1<<0; // SACB RLDU
- currentConfig.KeyBinds[ 6] = 1<<1;
- currentConfig.KeyBinds[ 7] = 1<<2;
- currentConfig.KeyBinds[ 5] = 1<<3;
- currentConfig.KeyBinds[14] = 1<<4;
- currentConfig.KeyBinds[13] = 1<<5;
- currentConfig.KeyBinds[15] = 1<<6;
- currentConfig.KeyBinds[ 3] = 1<<7;
- currentConfig.KeyBinds[12] = 1<<26; // switch rnd
- currentConfig.KeyBinds[ 8] = 1<<27; // save state
- currentConfig.KeyBinds[ 9] = 1<<28; // load state
- currentConfig.KeyBinds[28] = 1<<0; // num "buttons"
- currentConfig.KeyBinds[30] = 1<<1;
- currentConfig.KeyBinds[31] = 1<<2;
- currentConfig.KeyBinds[29] = 1<<3;
- currentConfig.PicoCDBuffers = 0;
- currentConfig.scaling = 1; // bilinear filtering for psp
- currentConfig.scale = 1.20; // fullscreen
- currentConfig.hscale40 = 1.25;
- currentConfig.hscale32 = 1.56;
+ memcpy(¤tConfig, &defaultConfig, sizeof(currentConfig));
+ PicoOpt = currentConfig.s_PicoOpt;
+ PsndRate = currentConfig.s_PsndRate;
+ PicoRegionOverride = currentConfig.s_PicoRegion;
+ PicoAutoRgnOrder = currentConfig.s_PicoAutoRgnOrder;
+ PicoCDBuffers = currentConfig.s_PicoCDBuffers;