mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Simplify some action_ok callback functions
This commit is contained in:
parent
f4d0b12288
commit
34d65594b3
@ -239,9 +239,7 @@ static int action_ok_shader_pass(const char *path,
|
|||||||
hack_shader_pass = type - MENU_SETTINGS_SHADER_PASS_0;
|
hack_shader_pass = type - MENU_SETTINGS_SHADER_PASS_0;
|
||||||
return action_ok_file_generic(
|
return action_ok_file_generic(
|
||||||
g_settings.video.shader_dir,
|
g_settings.video.shader_dir,
|
||||||
"video_shader_pass",
|
label, type, idx);
|
||||||
type,
|
|
||||||
idx);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int action_ok_shader_parameters(const char *path,
|
static int action_ok_shader_parameters(const char *path,
|
||||||
@ -271,8 +269,7 @@ static int action_ok_shader_preset(const char *path,
|
|||||||
{
|
{
|
||||||
return action_ok_file_generic(
|
return action_ok_file_generic(
|
||||||
g_settings.video.shader_dir,
|
g_settings.video.shader_dir,
|
||||||
"video_shader_preset",
|
label, type, idx);
|
||||||
type, idx);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int action_ok_push_content_list(const char *path,
|
static int action_ok_push_content_list(const char *path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user