light cleanup

This commit is contained in:
Shaun Inman 2023-01-29 21:25:15 -05:00
parent 7de8c5afc2
commit 04e053b228
5 changed files with 17 additions and 10 deletions

View file

@ -376,6 +376,8 @@ static char* max_ff_labels[] = {
NULL,
};
///////////////////////////////
enum {
FE_OPT_SCANLINES,
FE_OPT_TEXT,
@ -385,8 +387,6 @@ enum {
FE_OPT_COUNT,
};
///////////////////////////////
enum {
SHORTCUT_SAVE_STATE,
SHORTCUT_LOAD_STATE,
@ -797,7 +797,6 @@ static void OptionList_init(const struct retro_core_option_definition *defs) {
item->values = calloc(count+1, sizeof(char*));
item->labels = calloc(count+1, sizeof(char*));
// printf("%s (%s)\n", item->name, item->key);
for (int j=0; j<count; j++) {
const char* value = def->values[j].value;
const char* label = def->values[j].label;
@ -830,12 +829,9 @@ static void OptionList_init(const struct retro_core_option_definition *defs) {
item->value = Option_getValueIndex(item, default_value);
item->default_value = item->value;
// printf("(%s:%i)\n", item->labels[item->value], item->value);
// printf("%s %s\n",item->name, item->labels[item->value]);
// if (item->desc) printf("\t%s\n", item->desc);
}
}
fflush(stdout);
// fflush(stdout);
}
static void OptionList_vars(const struct retro_variable *vars) {
int count;

View file

@ -3,9 +3,10 @@
static CoreOverrides fceumm_overrides = {
.core_name = "fceumm",
.option_overrides = (OptionOverride[]){
{"fceumm_sndquality", "High"}, // why does it default to low :sob:
{"fceumm_sndquality", "High"}, // why does it default too low :sob:
{"fceumm_sndvolume", "10"},
// {"fceumm_sndlowpass", "enabled"}, // too muffled for my tastes
{"fceumm_show_adv_system_options","disabled",1}, // doesn't do anything
{"fceumm_show_adv_sound_options","disabled", 1}, // doesn't do anything
{NULL,NULL},
},
.button_mapping = (ButtonMapping[]){

View file

@ -7,6 +7,7 @@ CoreOverrides gambatte_overrides = {
{"gambatte_gb_internal_palette", "TWB64 - Pack 1"},
{"gambatte_gb_palette_twb64_1", "TWB64 038 - Pokemon mini Ver."},
{"gambatte_gb_bootloader", "disabled"},
{"gambatte_audio_resampler", "sinc", 1}, // alternatives don't work
{NULL,NULL},
},
.button_mapping = (ButtonMapping[]){

View file

@ -3,7 +3,7 @@
static CoreOverrides gpsp_overrides = {
.core_name = "gpsp",
.option_overrides = (OptionOverride[]){
{"gpsp_save_method", "libretro", 1},
{"gpsp_save_method", "libretro", 1}, // frontend doesn't support other option
{NULL,NULL},
},
.button_mapping = (ButtonMapping[]){

View file

@ -2,6 +2,15 @@
static CoreOverrides pcsx_rearmed_overrides = {
.core_name = "pcsx_rearmed",
.option_overrides = (OptionOverride[]){
{"pcsx_rearmed_display_internal_fps", "disabled", 1}, // doesn't work?
{"pcsx_rearmed_gpu_slow_llists", "auto", 1}, // slow or crashes frontend
{"pcsx_rearmed_neon_interlace_enable", "disabled", 1}, // slow or crashes frontend
{"pcsx_rearmed_neon_enhancement_enable", "disabled", 1}, // slow or crashes frontend
{"pcsx_rearmed_neon_enhancement_no_main", "disabled", 1}, // slow or crashes frontend
{"pcsx_rearmed_show_input_settings", "disabled", 1}, // not available
{NULL,NULL},
},
.button_mapping = (ButtonMapping[]){
{"Up", RETRO_DEVICE_ID_JOYPAD_UP, BTN_ID_UP},
{"Down", RETRO_DEVICE_ID_JOYPAD_DOWN, BTN_ID_DOWN},