Skip to content

Commit a4a6273

Browse files
committed
Thu 29 Aug 2019 09:50:25 EDT
1 parent cb3527b commit a4a6273

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Launchers/retro-esp32/main/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
}
526526
}
527527

528-
static int partition (char* arr[], int low, int high) {
528+
static int partition (char** arr, int low, int high) {
529529
char* pivot = arr[high];
530530
int i = (low - 1);
531531

@@ -541,7 +541,7 @@
541541
return (i + 1);
542542
}
543543

544-
void quick_sort(char* arr[], int low, int high) {
544+
void quick_sort(char** arr, int low, int high) {
545545
if (low < high)
546546
{
547547
int pi = partition(arr, low, high);
@@ -587,7 +587,7 @@
587587
}
588588

589589
if(ROMS.total > 0) {
590-
sort_files(FILES);
590+
if(ROMS.total < 500) sort_files(FILES);
591591
draw_files();
592592
} else {
593593
char message[100] = "no games available";

Launchers/retro-esp32/main/sprites/folder.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ const uint16_t folder[16][16] = {
1515
{0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0},
1616
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
1717
{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
18-
1918
};

0 commit comments

Comments
 (0)