mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
we prolly don't need to init SDL video, given we don't use it
This commit is contained in:
parent
ef7dfb8872
commit
2af8e65f23
@ -2985,10 +2985,10 @@ int main(int argc, char** argv)
|
||||
{
|
||||
printf("SDL couldn't init joystick\n");
|
||||
}
|
||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0)
|
||||
if (SDL_Init(SDL_INIT_AUDIO) < 0)
|
||||
{
|
||||
const char* err = SDL_GetError();
|
||||
QString errorStr = "Failed to initialize SDL. This could indicate an issue with your graphics or audio driver.\n\nThe error was: ";
|
||||
QString errorStr = "Failed to initialize SDL. This could indicate an issue with your audio driver.\n\nThe error was: ";
|
||||
errorStr += err;
|
||||
|
||||
QMessageBox::critical(NULL, "melonDS", errorStr);
|
||||
|
Loading…
Reference in New Issue
Block a user