788a398aab
* Since JELOS creates the games directory structure it is possible that the overlay will hide games if you switch targets as it will consider them removed. Delete the empty directories and reboot to resolve. * Ex: find /storage/games-internal -type d -empty -delete && find /storage/games-external -type d -empty -delete && reboot * Merged storage can now be disabled persistently. * A new directory structure is required to enable switching: * /storage/games-internal/roms * /storage/games-external/roms * The target /storage/roms has not changed. * Lowers clocks to powersave for RK3566 devices.
17 lines
437 B
Bash
Executable file
17 lines
437 B
Bash
Executable file
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
. /etc/profile.d/001-functions
|
|
|
|
### Set the default performance scaling mode for a few systems.
|
|
for SYSTEM in dreamcast n64 psp saturn ports psx gba
|
|
do
|
|
SETTING=$(get_setting ${SYSTEM})
|
|
if [ -z ${SETTING} ]
|
|
then
|
|
set_setting ${SYSTEM}.cpugovernor performance
|
|
set_setting ${SYSTEM}.gpuperf profile_peak
|
|
fi
|
|
done
|
|
|