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

osd/sdl: Fixed interpretation of result of SDL_GetDesktopDisplayMode #11547

Merged
merged 1 commit into from Sep 11, 2023

Conversation

Davidian1024
Copy link
Contributor

SDL_GetDesktopDisplayMode returns 0 on success. The current logic seems to assume that it returns true on success. Updated the logic so that the lines printing the desktop mode and current display mode info can be reached.

SDL_GetDesktopDisplayMode returns 0 on success.  The current logic seems to assume that it returns true on success.  Updated the logic so that the lines printing the desktop mode and current display mode info can be reached.
@cuavas cuavas changed the title allows mode info to be printed osd/sdl: Fixed interpretation of result of SDL_GetDesktopDisplayMode Sep 11, 2023
@cuavas cuavas merged commit 7d57f03 into mamedev:master Sep 11, 2023
5 checks passed
@Davidian1024
Copy link
Contributor Author

Cool, thanks alot. :)

@Davidian1024 Davidian1024 deleted the patch-2 branch September 11, 2023 18:42
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.

None yet

2 participants