Skip to content

Commit 26554bb

Browse files
committed
re-add overclock as an alias of maximum
back compat yada yada
1 parent edd08de commit 26554bb

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

static/Emus/.emu_setup/cpu_switch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ case "$CPU_MODE" in
1717
NEW_MODE="maximum"
1818
NEW_DISPLAY="Max"
1919
;;
20-
"maximum")
20+
"maximum"|"overclock")
2121
NEW_MODE="turbo"
2222
NEW_DISPLAY="Turbo"
2323
;;

static/Emus/.emu_setup/launch_emu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ case "$CPU_MODE" in
132132
set_cpuclock --mode smart --min-freq $CPU_MIN_FREQ
133133
} &
134134
;;
135-
performance|maximum)
135+
performance|maximum|overclock)
136136
set_cpuclock --mode "$CPU_MODE"
137137
;;
138138
turbo|overdrive|unstable)

static/System/scripts/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ set_cpuclock() {
4242
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
4343
echo 1344000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
4444
;;
45-
"maximum")
45+
"maximum"|"overclock")
4646
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
4747
echo 1536000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
4848
;;

0 commit comments

Comments
 (0)