Revert the ES changes for now.

This commit is contained in:
fewtarius 2023-07-22 20:01:08 +00:00
parent 3253083943
commit ad305cc7f9
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 16 additions and 1 deletions

View file

@ -443,6 +443,20 @@ set_consolefont() {
fi
}
hdmi_con() {
if [ -f "/sys/class/extcon/hdmi/state" ]
then
HDMI="$(</sys/class/extcon/hdmi/state)"
if [ "${HDMI}" = "HDMI=1" ]
then
if [ -f "/sys/devices/virtual/graphics/fbcon/rotate" ]
then
echo 0 >/sys/devices/virtual/graphics/fbcon/rotate
fi
fi
fi
}
load_splash() {
clear >/dev/console
echo -en "\033[1000H\033[2K$(cat /sysroot/etc/issue)\n\n" >/dev/console
@ -1159,6 +1173,7 @@ for BOOT_STEP in \
set_consolefont \
cleanup_flash \
update_bootmenu \
hdmi_con \
mount_sysroot \
mount_storage \
load_splash \

View file

@ -3,7 +3,7 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="0a4bd67da55986253a96aff352f2d6f2ba592fe8"
PKG_VERSION="e6ce23d"
PKG_GIT_CLONE_BRANCH="main"
PKG_REV="1"
PKG_ARCH="any"