MrColdbird / procfw

Automatically exported from code.google.com/p/procfw
76 stars 28 forks source link

Recovery menu default settings enhancement #221

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Optimal settings, as I think:

void load_default_conf(SEConfig *config)
{
    memset(config, 0, sizeof(*config));
    config->magic = get_conf_magic();
    config->umdmode = MODE_INFERNO;
    config->usbcharge = psp_model == PSP_1000 ? 0 : 1;
    config->machidden = 1;
    config->skipgameboot = 0;
    config->hidepic = 0;
    config->plugvsh = config->pluggame = config->plugpop = 1;
    config->usbdevice = 0;
    config->flashprot = 1;
    config->fakeregion = FAKE_REGION_DISABLED;
    config->skiplogo = 1;
    config->useversion = 0;
    config->useownupdate = 1;
    config->usenodrm = 1;
    config->hibblock = 0;
    config->noanalog = 0;
    config->oldplugin = psp_model == PSP_GO ? 1 : 0;
    config->htmlviewer_custom_save_location = 1;
    config->hide_cfw_dirs = 1;
    config->chn_iso = 0;
    config->msspeed = MSSPEED_NONE;
    config->slimcolor = psp_model == PSP_1000 ? 1 : 0;
    config->iso_cache = psp_model == PSP_GO ? 0 : 1;
    config->iso_cache_total_size = 20;
    config->iso_cache_num = 128;
    config->iso_cache_policy = CACHE_POLICY_LRU;
//  config->parental_mode = 0;
//  config->use_vsh_menu = 1;
    config->usbversion = 0;
}

Original issue reported on code.google.com by realyoti on 21 Aug 2011 at 8:37

GoogleCodeExporter commented 9 years ago
It should better be the following:

void load_default_conf(SEConfig *config)
{
        memset(config, 0, sizeof(*config));
        config->magic = get_conf_magic();
        config->umdmode = MODE_INFERNO;
        config->usbcharge = psp_model == PSP_1000 ? 0 : 1;
        config->machidden = 1;
        config->skipgameboot = 0;
        config->hidepic = 0;
        config->plugvsh = config->pluggame = config->plugpop = 1;
        config->usbdevice = 0;
        config->flashprot = 1;
        config->fakeregion = FAKE_REGION_DISABLED;
        config->skiplogo = 0;
        config->useversion = 0;
        config->useownupdate = 1;
        config->usenodrm = 1;
        config->hibblock = 1;
        config->noanalog = 0;
        config->oldplugin = psp_model == PSP_GO ? 1 : 0;
        config->htmlviewer_custom_save_location = 1;
        config->hide_cfw_dirs = 1;
        config->chn_iso = 1;
        config->msspeed = MSSPEED_NONE;
        config->slimcolor = psp_model == PSP_1000 ? 1 : 0;
        config->iso_cache = psp_model == PSP_GO ? 0 : 1;
        config->iso_cache_total_size = 20;
        config->iso_cache_num = 256;
        config->iso_cache_policy = CACHE_POLICY_LRU;
        config->usbversion = 0;
        config->language = -1;
        config->retail_high_memory = 0;
}

Original comment by devnonam...@gmail.com on 25 Aug 2013 at 11:26