CI: build on ubuntu-18.04 (#346)

This commit is contained in:
David Chavez
2024-06-16 21:38:23 +02:00
committed by GitHub
parent 19fcd9bf31
commit 1a6a3b3082
6 changed files with 142 additions and 24 deletions
+5
View File
@@ -373,6 +373,11 @@ int main(int argc, char** argv) {
SDL_InitSubSystem(SDL_INIT_AUDIO);
reset_audio(48000);
// Source controller mappings file
if (SDL_GameControllerAddMappingsFromFile("gamecontrollerdb.txt") < 0) {
fprintf(stderr, "Failed to load controller mappings: %s\n", SDL_GetError());
}
// Register supported games and patches
for (const auto& game : supported_games) {
recomp::register_game(game);