Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CLI shader path for shader dir init if present #16196

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

zoltanvb
Copy link
Contributor

@zoltanvb zoltanvb commented Feb 4, 2024

Description

If shader is given on command line, use it for directory init. Fixes #16181, shader cycle should now work using the dir of the shader passed to CLI.

Related Issues

Fixes #16181

Reviewers

@hunterk maybe - I do not completely understand why "remember last shader dir" is optional and if there is some hidden use case for shader cycling.

If shader is given on command line, use it for directory init.
Fixes libretro#16181, shader cycle should now work using the dir of the
shader passed to CLI.
@hizzlekizzle
Copy link
Contributor

LGTM.

It's optional just because sometimes it's easier to start at the top level if you want to change among a bunch of shaders instead of starting buried down in some sub-sub-sub-directory each time. I don't suspect it gets used very often, though, and it might be something to consider removing if we ever go on a 'menu simplification' purge.

@HyperspaceMadness do you know any reason why this PR would be a problem?

@zoltanvb
Copy link
Contributor Author

Just a ping, is there some pending issue with this PR that I need to address?

@LibretroAdmin LibretroAdmin merged commit 57c17d5 into libretro:master Aug 19, 2024
26 checks passed
@zoltanvb zoltanvb deleted the cli_shader_cycle branch December 25, 2024 06:43
Sunderland93 pushed a commit to Sunderland93/RetroArch that referenced this pull request Dec 26, 2024
If shader is given on command line, use it for directory init.
Fixes libretro#16181, shader cycle should now work using the dir of the
shader passed to CLI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shaders not cycling correctly
3 participants