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;