Fix build issue with SDL patches, add game settings quirks to set performance mode for dreamcast, saturn, psp, and n64 by default.

This commit is contained in:
fewtarius 2023-08-11 16:00:22 +00:00
parent 818d78ee2a
commit 24ddf008cc
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
9 changed files with 112 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done

View file

@ -0,0 +1,16 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done

View file

@ -0,0 +1,16 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done

View file

@ -0,0 +1,16 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done

View file

@ -0,0 +1,16 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done

View file

@ -0,0 +1,16 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done

View file

@ -0,0 +1,16 @@
#!/bin/sh
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023-present Fewtarius (https://github.com/fewtarius)
. /etc/profile.d/02-distribution
### Set the default performance scaling mode for a few systems.
for SYSTEM in dreamcast n64 psp saturn
do
SETTING=$(get_setting ${SYSTEM})
if [ -z ${SETTING} ]
then
set_setting ${SYSTEM}.cpugovernor performance
fi
done