mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(Menu) Fix video_shader_pass setting
This commit is contained in:
parent
514e454f16
commit
7f34615a49
@ -1850,7 +1850,7 @@ static int menu_action_ok(const char *dir,
|
|||||||
else if (!strcmp(menu_label, "video_shader_pass")
|
else if (!strcmp(menu_label, "video_shader_pass")
|
||||||
&& type == MENU_FILE_PLAIN)
|
&& type == MENU_FILE_PLAIN)
|
||||||
{
|
{
|
||||||
unsigned pass = (menu_type - MENU_SETTINGS_SHADER_0) / 3;
|
unsigned pass = (menu_type) / 3;
|
||||||
|
|
||||||
fill_pathname_join(driver.menu->shader->pass[pass].source.path,
|
fill_pathname_join(driver.menu->shader->pass[pass].source.path,
|
||||||
dir, path, sizeof(driver.menu->shader->pass[pass].source.path));
|
dir, path, sizeof(driver.menu->shader->pass[pass].source.path));
|
||||||
|
@ -56,7 +56,8 @@ extern "C" {
|
|||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
MENU_FILE_PLAIN = 1,
|
MENU_FILE_NONE,
|
||||||
|
MENU_FILE_PLAIN,
|
||||||
MENU_FILE_DIRECTORY,
|
MENU_FILE_DIRECTORY,
|
||||||
MENU_FILE_DEVICE,
|
MENU_FILE_DEVICE,
|
||||||
MENU_FILE_CORE,
|
MENU_FILE_CORE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user