light cleanup
This commit is contained in:
parent
7de8c5afc2
commit
04e053b228
5 changed files with 17 additions and 10 deletions
|
|
@ -376,6 +376,8 @@ static char* max_ff_labels[] = {
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
///////////////////////////////
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
FE_OPT_SCANLINES,
|
FE_OPT_SCANLINES,
|
||||||
FE_OPT_TEXT,
|
FE_OPT_TEXT,
|
||||||
|
|
@ -385,8 +387,6 @@ enum {
|
||||||
FE_OPT_COUNT,
|
FE_OPT_COUNT,
|
||||||
};
|
};
|
||||||
|
|
||||||
///////////////////////////////
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
SHORTCUT_SAVE_STATE,
|
SHORTCUT_SAVE_STATE,
|
||||||
SHORTCUT_LOAD_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->values = calloc(count+1, sizeof(char*));
|
||||||
item->labels = 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++) {
|
for (int j=0; j<count; j++) {
|
||||||
const char* value = def->values[j].value;
|
const char* value = def->values[j].value;
|
||||||
const char* label = def->values[j].label;
|
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->value = Option_getValueIndex(item, default_value);
|
||||||
item->default_value = item->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) {
|
static void OptionList_vars(const struct retro_variable *vars) {
|
||||||
int count;
|
int count;
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,10 @@
|
||||||
static CoreOverrides fceumm_overrides = {
|
static CoreOverrides fceumm_overrides = {
|
||||||
.core_name = "fceumm",
|
.core_name = "fceumm",
|
||||||
.option_overrides = (OptionOverride[]){
|
.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_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},
|
{NULL,NULL},
|
||||||
},
|
},
|
||||||
.button_mapping = (ButtonMapping[]){
|
.button_mapping = (ButtonMapping[]){
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ CoreOverrides gambatte_overrides = {
|
||||||
{"gambatte_gb_internal_palette", "TWB64 - Pack 1"},
|
{"gambatte_gb_internal_palette", "TWB64 - Pack 1"},
|
||||||
{"gambatte_gb_palette_twb64_1", "TWB64 038 - Pokemon mini Ver."},
|
{"gambatte_gb_palette_twb64_1", "TWB64 038 - Pokemon mini Ver."},
|
||||||
{"gambatte_gb_bootloader", "disabled"},
|
{"gambatte_gb_bootloader", "disabled"},
|
||||||
|
{"gambatte_audio_resampler", "sinc", 1}, // alternatives don't work
|
||||||
{NULL,NULL},
|
{NULL,NULL},
|
||||||
},
|
},
|
||||||
.button_mapping = (ButtonMapping[]){
|
.button_mapping = (ButtonMapping[]){
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
static CoreOverrides gpsp_overrides = {
|
static CoreOverrides gpsp_overrides = {
|
||||||
.core_name = "gpsp",
|
.core_name = "gpsp",
|
||||||
.option_overrides = (OptionOverride[]){
|
.option_overrides = (OptionOverride[]){
|
||||||
{"gpsp_save_method", "libretro", 1},
|
{"gpsp_save_method", "libretro", 1}, // frontend doesn't support other option
|
||||||
{NULL,NULL},
|
{NULL,NULL},
|
||||||
},
|
},
|
||||||
.button_mapping = (ButtonMapping[]){
|
.button_mapping = (ButtonMapping[]){
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,15 @@
|
||||||
|
|
||||||
static CoreOverrides pcsx_rearmed_overrides = {
|
static CoreOverrides pcsx_rearmed_overrides = {
|
||||||
.core_name = "pcsx_rearmed",
|
.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[]){
|
.button_mapping = (ButtonMapping[]){
|
||||||
{"Up", RETRO_DEVICE_ID_JOYPAD_UP, BTN_ID_UP},
|
{"Up", RETRO_DEVICE_ID_JOYPAD_UP, BTN_ID_UP},
|
||||||
{"Down", RETRO_DEVICE_ID_JOYPAD_DOWN, BTN_ID_DOWN},
|
{"Down", RETRO_DEVICE_ID_JOYPAD_DOWN, BTN_ID_DOWN},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue