distribution/packages/hardware/quirks/platforms/RK3566/060-game_settings
Marc Roy 866b265913
CDi and PCFX - set Performance scaling mode
To have better FPS for both systems (helps Zelda videos of CD-i systemes)
2024-01-30 14:15:25 +00:00

17 lines
446 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 ports psp psx saturn gba pcfx cdi
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
set_setting ${SYSTEM}.gpuperf profile_peak
fi
done