X Tutup
Skip to content

Add support to select shader from the command line#6429

Merged
sev- merged 6 commits intoscummvm:masterfrom
naatje80:master
Feb 12, 2025
Merged

Add support to select shader from the command line#6429
sev- merged 6 commits intoscummvm:masterfrom
naatje80:master

Conversation

@naatje80
Copy link
Contributor

Added feature: support to select shader from the command line

I was still missing an option to select a shader from the command line. I hope the provided addition could be merged. I don't think it will require more explanation. Otherwise please let me know.

With kind regards,
Nathan

DO_OPTION('g', "gfx-mode")
END_OPTION


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change is not necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes indeed, my apologies. I had to move the move the DO_LONG_OPTION functionality below the one that was created for the themepath (otherwise the default location of de shaders.dat file could not be found). I accidentally added an additional line feed. I will remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed now.

Typo: "of" should be "or". It also only excepts a single shader file (instead of files).

Co-authored-by: Eugene Sandulenko <sev@scummvm.org>
@sev- sev- merged commit 6829281 into scummvm:master Feb 12, 2025
1 check passed
@sev-
Copy link
Member

sev- commented Feb 12, 2025

Thank you! I squashed your commits. Nice addition!

@naatje80
Copy link
Contributor Author

Sure done, and thank you for merging these changes!

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.

4 participants

X Tutup