actualitzada la versio de jail_audio

modificat SDL_Init a SDL_Init(SDL_INIT_VIDEO || SDL_INIT_AUDIO || SDL_INIT_GAMEPAD)
This commit is contained in:
2025-03-27 13:15:04 +01:00
parent 2edb978a28
commit e2339bd54a
3 changed files with 169 additions and 151 deletions

View File

@@ -287,7 +287,7 @@ bool Director::initSDL()
auto success = true;
// Inicializa SDL
if (!SDL_Init(SDL_INIT_VIDEO))
if (!SDL_Init(SDL_INIT_VIDEO || SDL_INIT_AUDIO || SDL_INIT_GAMEPAD))
{
std::cout << "SDL could not initialize!\nSDL Error: " << SDL_GetError() << std::endl;
success = false;