Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there, this set of changes adds support for building for Nintendo Switch using the devkitPro homebrew toolchain.
These two changes are mainly for Switch but they might improve compatibility with other exotic platforms too:
timiditycfg
config setting for modifying where TiMidity will look for a midi cfg file. TiMidity is the backend that is used on Switch by SDL_Mixer (as well as other platforms depending on backend availability) for playing midi files. Usually, it looks for/etc/timidity/freepats.cfg
but that's not present on the Switch so it has to be configureable for it to look where appropiate.SDL_LogError
call onNACT::fatal
to facilitate debugging on platforms that don't implementSDL_ShowSimpleMessageBox
(in this case the Switch).The Switch-exclusive changes are:
romfs:/
path containing the resources available)If you have any questions, please ask! If the Switch build ever breaks, don't hesitate to tag me whenever through an issue so I can take a look an it, although considering the multiplatform nature of the project it would be rare that only the Switch build breaks without other building too.