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

feat(samples): add video mode sample #678

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ReenigneArcher
Copy link

This PR adds a new sample that sets the Xbox to the "best" video mode available.

It was not abundantly clear to me if XVideoListModes populates will loop through in any specific order... if it does perhaps this can be simplified.

I tested this in Xemu, but only get two possible video modes so testing was not extensive.

Note: I'm quite new to nxdk so there may be better ways to accomplish this. I did find one other similar example (https://github.com/Ryzee119/LithiumX/blob/f4471d287d44abc84803d3b901bd4aa7ed459689/src/platform/xbox/platform.c#L99-L123) after I already wrote this, but feel my code is better for selecting the highest resolution available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant