Clean up PortMaster vars

This commit is contained in:
mason 2023-12-05 15:25:48 +00:00 committed by fewtarius
parent fd7ed4200b
commit db88c66c23
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 2 additions and 5 deletions

View file

@ -5,10 +5,8 @@
. /etc/profile
PORTPLATFORM=$(tr -d '\0' </sys/firmware/devicetree/base/model 2>/dev/null)
if [[ "${UI_SERVICE}" =~ weston.service ]]; then
case ${PORTPLATFORM} in
case ${QUIRK_DEVICE} in
"Hardkernel ODROID-GO-Ultra"|"Powkiddy RGB10 MAX 3"|"Hardkernel ODROID-N2*")
#Fixing ports on S922X, exclude FNA games
for port in /storage/roms/ports/*.sh; do

View file

@ -23,9 +23,8 @@ SDLDBUSERFILE="/storage/.config/SDL-GameControllerDB/gamecontrollerdb.txt"
clibs="/usr/lib/compat/"
raloc="/usr/bin"
raconf="--config /storage/.config/retroarch/retroarch.cfg"
pdevice=$(tr -d '\0' </sys/firmware/devicetree/base/model 2>/dev/null)
case ${pdevice} in
case "${QUIRK_DEVICE}" in
"Anbernic RG552")
profile="rg552"
lres="N"