tidy/todos

This commit is contained in:
Shaun Inman 2023-02-02 21:04:13 -05:00
parent 9452ee311a
commit 815d58fe89
2 changed files with 3 additions and 3 deletions

View file

@ -1093,7 +1093,7 @@ static void input_poll_callback(void) {
if (PAD_isPressed(btn)) buttons |= 1 << config.controls[i].retro; if (PAD_isPressed(btn)) buttons |= 1 << config.controls[i].retro;
} }
} }
static int16_t input_state_callback(unsigned port, unsigned device, unsigned index, unsigned id) { // copied from picoarch static int16_t input_state_callback(unsigned port, unsigned device, unsigned index, unsigned id) {
// id == RETRO_DEVICE_ID_JOYPAD_MASK or RETRO_DEVICE_ID_JOYPAD_* // id == RETRO_DEVICE_ID_JOYPAD_MASK or RETRO_DEVICE_ID_JOYPAD_*
if (port == 0 && device == RETRO_DEVICE_JOYPAD && index == 0) { if (port == 0 && device == RETRO_DEVICE_JOYPAD && index == 0) {
if (id == RETRO_DEVICE_ID_JOYPAD_MASK) return buttons; if (id == RETRO_DEVICE_ID_JOYPAD_MASK) return buttons;
@ -1284,7 +1284,7 @@ static bool environment_callback(unsigned cmd, void *data) { // copied from pico
// puts("RETRO_ENVIRONMENT_SET_CORE_OPTIONS"); // puts("RETRO_ENVIRONMENT_SET_CORE_OPTIONS");
if (data) { if (data) {
OptionList_reset(); OptionList_reset();
OptionList_init(*(const struct retro_core_option_definition **)data); OptionList_init((const struct retro_core_option_definition *)data);
} }
break; break;
} }

View file

@ -3,7 +3,7 @@
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 too low :sob: {"fceumm_sndquality", "High"},
{"fceumm_sndvolume", "10"}, {"fceumm_sndvolume", "10"},
{"fceumm_show_adv_system_options","disabled",1}, // doesn't do anything {"fceumm_show_adv_system_options","disabled",1}, // doesn't do anything
{"fceumm_show_adv_sound_options","disabled", 1}, // doesn't do anything {"fceumm_show_adv_sound_options","disabled", 1}, // doesn't do anything