mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-18 00:18:22 +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")
|
||||
&& 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,
|
||||
dir, path, sizeof(driver.menu->shader->pass[pass].source.path));
|
||||
|
@ -56,7 +56,8 @@ extern "C" {
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MENU_FILE_PLAIN = 1,
|
||||
MENU_FILE_NONE,
|
||||
MENU_FILE_PLAIN,
|
||||
MENU_FILE_DIRECTORY,
|
||||
MENU_FILE_DEVICE,
|
||||
MENU_FILE_CORE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user