|
15 | 15 | #define COL_INTEL_RETRO_1 "\x1b[36;1m" |
16 | 16 | #define COL_INTEL_RETRO_2 "\x1b[37;1m" |
17 | 17 | #define COL_AMD_FANCY_1 "\x1b[47;1m" |
18 | | -#define COL_AMD_FANCY_2 "\x1b[41;1m" |
| 18 | +#define COL_AMD_FANCY_2 "\x1b[42;1m" |
19 | 19 | #define COL_AMD_FANCY_3 "\x1b[37;1m" |
20 | | -#define COL_AMD_FANCY_4 "\x1b[31;1m" |
| 20 | +#define COL_AMD_FANCY_4 "\x1b[32;1m" |
21 | 21 | #define COL_AMD_RETRO_1 "\x1b[37;1m" |
22 | | -#define COL_AMD_RETRO_2 "\x1b[31;1m" |
| 22 | +#define COL_AMD_RETRO_2 "\x1b[32;1m" |
23 | 23 | #define RESET "\x1b[m" |
24 | 24 |
|
25 | 25 | #define TITLE_NAME "Name:" |
@@ -223,7 +223,7 @@ uint32_t get_next_attribute(struct ascii* art, uint32_t last_attr) { |
223 | 223 | return last_attr; |
224 | 224 | } |
225 | 225 |
|
226 | | -void print_ascii_intel(struct ascii* art, STYLE s, uint32_t la) { |
| 226 | +void print_ascii_intel(struct ascii* art, uint32_t la) { |
227 | 227 | bool flag = false; |
228 | 228 | int attr_to_print = -1; |
229 | 229 | uint32_t space_right; |
@@ -260,7 +260,7 @@ void print_ascii_intel(struct ascii* art, STYLE s, uint32_t la) { |
260 | 260 | } |
261 | 261 | } |
262 | 262 |
|
263 | | -void print_ascii_amd(struct ascii* art, STYLE s, uint32_t la) { |
| 263 | +void print_ascii_amd(struct ascii* art, uint32_t la) { |
264 | 264 | int attr_to_print = -1; |
265 | 265 | uint32_t space_right; |
266 | 266 | uint32_t space_up = (NUMBER_OF_LINES - art->n_attributes_set)/2; |
@@ -300,12 +300,12 @@ uint32_t longest_attribute_length(struct ascii* art) { |
300 | 300 | return max; |
301 | 301 | } |
302 | 302 |
|
303 | | -void print_ascii(struct ascii* art, STYLE s) { |
| 303 | +void print_ascii(struct ascii* art) { |
304 | 304 | uint32_t longest_attribute = longest_attribute_length(art); |
305 | 305 | if(art->vendor == VENDOR_INTEL) |
306 | | - print_ascii_intel(art, s, longest_attribute); |
| 306 | + print_ascii_intel(art, longest_attribute); |
307 | 307 | else |
308 | | - print_ascii_amd(art, s, longest_attribute); |
| 308 | + print_ascii_amd(art, longest_attribute); |
309 | 309 | } |
310 | 310 |
|
311 | 311 | bool print_cpufetch(struct cpuInfo* cpu, struct cache* cach, struct frequency* freq, struct topology* topo, STYLE s, struct colors* cs) { |
@@ -355,7 +355,7 @@ bool print_cpufetch(struct cpuInfo* cpu, struct cache* cach, struct frequency* f |
355 | 355 | return false; |
356 | 356 | } |
357 | 357 |
|
358 | | - print_ascii(art, s); |
| 358 | + print_ascii(art); |
359 | 359 |
|
360 | 360 | free(cpu_name); |
361 | 361 | free(max_frequency); |
|
0 commit comments