Skip to content

Commit c2e48bb

Browse files
authored
Added lower cpu clock options, down to 408MHz (lowest possible) (#300)
1 parent 5ce3fa8 commit c2e48bb

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

workspace/all/minarch/minarch.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4369,7 +4369,6 @@ static void video_refresh_callback(const void* data, unsigned width, unsigned he
43694369
}
43704370
///////////////////////////////
43714371

4372-
// NOTE: sound must be disabled for fast forward to work...
43734372
static void audio_sample_callback(int16_t left, int16_t right) {
43744373
if (!fast_forward || ff_audio) {
43754374
if (use_core_fps) {

workspace/tg5040/platform/platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ void *PLAT_cpu_monitor(void *arg) {
22222222
double prev_real_time = get_time_sec();
22232223
double prev_cpu_time = get_process_cpu_time_sec();
22242224

2225-
const int cpu_frequencies[] = {600,650,700,750, 800,850,900,950, 1000,1050,1100,1150, 1200,1250,1300,1350, 1400,1450,1500,1550, 1600,1650,1700,1750, 1800,1850,1900,1950, 2000};
2225+
const int cpu_frequencies[] = {408,450,500,550, 600,650,700,750, 800,850,900,950, 1000,1050,1100,1150, 1200,1250,1300,1350, 1400,1450,1500,1550, 1600,1650,1700,1750, 1800,1850,1900,1950, 2000};
22262226
const int num_freqs = sizeof(cpu_frequencies) / sizeof(cpu_frequencies[0]);
22272227
int current_index = 5;
22282228

0 commit comments

Comments
 (0)