aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2022-03-06 10:49:05 +0100
committerArisotura <thetotalworm@gmail.com>2022-03-06 10:49:05 +0100
commit2af8e65f23e0311389bb309fc7cf039b82b28f87 (patch)
tree6a1a1d95e81602a05f8eeadab21de15b7e08dd77 /src
parentef7dfb887292d7b2042c296363d915594e69c301 (diff)
we prolly don't need to init SDL video, given we don't use it
Diffstat (limited to 'src')
-rw-r--r--src/frontend/qt_sdl/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index 8d2fc31..535bfee 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -2777,7 +2777,7 @@ void MainWindow::onChangeScreenSwap(bool checked)
{
Config::ScreenSwap = checked?1:0;
- // Swap between top and bottom screen when displaying one screen.
+ // Swap between top and bottom screen when displaying one screen.
if (Config::ScreenSizing == screenSizing_TopOnly)
{
// Bottom Screen.
@@ -2792,7 +2792,7 @@ void MainWindow::onChangeScreenSwap(bool checked)
actScreenSizing[screenSizing_BotOnly]->setChecked(false);
actScreenSizing[Config::ScreenSizing]->setChecked(true);
}
-
+
emit screenLayoutChange();
}
@@ -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);