Fix SDL build
This commit is contained in:
@@ -35,7 +35,7 @@ FrontendSDL::FrontendSDL() : keyboardMappings(InputMappings::defaultKeyboardMapp
|
|||||||
needOpenGL = needOpenGL || (config.rendererType == RendererType::OpenGL);
|
needOpenGL = needOpenGL || (config.rendererType == RendererType::OpenGL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char* windowTitle = config.appVersionOnWindow ? ("Alber v" PANDA3DS_VERSION) : "Alber";
|
const char* windowTitle = config.windowSettings.showAppVersion ? ("Alber v" PANDA3DS_VERSION) : "Alber";
|
||||||
if (config.printAppVersion) {
|
if (config.printAppVersion) {
|
||||||
printf("Welcome to Panda3DS v%s!\n", PANDA3DS_VERSION);
|
printf("Welcome to Panda3DS v%s!\n", PANDA3DS_VERSION);
|
||||||
}
|
}
|
||||||
@@ -393,4 +393,4 @@ void FrontendSDL::setupControllerSensors(SDL_GameController* controller) {
|
|||||||
if (haveAccelerometer) {
|
if (haveAccelerometer) {
|
||||||
SDL_GameControllerSetSensorEnabled(controller, SDL_SENSOR_ACCEL, SDL_TRUE);
|
SDL_GameControllerSetSensorEnabled(controller, SDL_SENSOR_ACCEL, SDL_TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user