Merge pull request #53 from libretro/master

update
This commit is contained in:
alphanu1 2018-05-01 20:26:09 +01:00 committed by GitHub
commit ab6acd1115
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 9 deletions

View File

@ -93,8 +93,11 @@ static void crt_screen_setup_aspect(unsigned width, unsigned height)
{ {
/* detect menu only */ /* detect menu only */
if (width < 1920) if (width < 1920)
{
width = 704; width = 704;
height = 480; height = 480;
}
crt_aspect_ratio_switch(width, height); crt_aspect_ratio_switch(width, height);
} }

View File

@ -270,7 +270,7 @@ check_val '' PULSE -lpulse
check_val '' SDL -lSDL SDL check_val '' SDL -lSDL SDL
check_val '' SDL2 -lSDL2 SDL2 check_val '' SDL2 -lSDL2 SDL2
if [ "$HAVE_QT" != 'no' ]; then if [ "$HAVE_QT" != 'no' ] && [ "$MOC_PATH" != 'none' ]; then
check_pkgconf QT5CORE Qt5Core 5.2 check_pkgconf QT5CORE Qt5Core 5.2
check_pkgconf QT5GUI Qt5Gui 5.2 check_pkgconf QT5GUI Qt5Gui 5.2
check_pkgconf QT5WIDGETS Qt5Widgets 5.2 check_pkgconf QT5WIDGETS Qt5Widgets 5.2

View File

@ -86,14 +86,20 @@ fi
if [ "$HAVE_QT" != "no" ]; then if [ "$HAVE_QT" != "no" ]; then
echobuf="Checking for moc" echobuf="Checking for moc"
if [ -z "$MOC" ]; then if [ -z "$MOC" ]; then
MOC="$(exists "moc")" || MOC="" MOC_PATH="none"
if [ -z "$MOC" ]; then for moc in moc-qt5 moc; do
die : "$echobuf ... Not found." MOC="$(exists "$moc")" || MOC=""
else [ "${MOC}" ] && {
echo "$echobuf ... $MOC" MOC_PATH="$MOC"
fi break
else }
echo "$echobuf ... $MOC" done
fi
echo "$echobuf ... $MOC_PATH"
if [ "$MOC_PATH" = "none" ]; then
die : 'Warning: moc not found, Qt companion support will be disabled.'
fi fi
fi fi