@@ -63,12 +63,12 @@ class MiniOverlay : public tsl::Gui {
63
63
rectangleWidth = 0 ;
64
64
for (std::string key : tsl::hlp::split (settings.show , ' +' )) {
65
65
if (!key.compare (" CPU" )) {
66
- dimensions = renderer->drawString (" [ 100%,100%,100%,100%]@4444 .4" , false , 0 , 0 , fontsize, renderer->a (0x0000 ));
66
+ dimensions = renderer->drawString (" 100%,100%,100%,100%@1444 .4" , false , 0 , 0 , fontsize, renderer->a (0x0000 ));
67
67
if (rectangleWidth < dimensions.first )
68
68
rectangleWidth = dimensions.first ;
69
69
}
70
70
else if (!key.compare (" GPU" ) || (!key.compare (" RAM" ) && settings.showRAMLoad && R_SUCCEEDED (sysclkCheck))) {
71
- dimensions = renderer->drawString (" 100.0%@4444 .4" , false , 0 , fontsize, fontsize, renderer->a (0x0000 ));
71
+ dimensions = renderer->drawString (" 100.0%@1444 .4" , false , 0 , fontsize, fontsize, renderer->a (0x0000 ));
72
72
if (rectangleWidth < dimensions.first )
73
73
rectangleWidth = dimensions.first ;
74
74
}
@@ -83,7 +83,7 @@ class MiniOverlay : public tsl::Gui {
83
83
rectangleWidth = dimensions.first ;
84
84
}
85
85
else if (!key.compare (" DRAW" )) {
86
- dimensions = renderer->drawString (" -44.44W[44:44 ]" , false , 0 , fontsize, fontsize, renderer->a (0x0000 ));
86
+ dimensions = renderer->drawString (" 99.9%(-15.5W)[9:99 ]" , false , 0 , fontsize, fontsize, renderer->a (0x0000 ));
87
87
if (rectangleWidth < dimensions.first )
88
88
rectangleWidth = dimensions.first ;
89
89
}
@@ -141,7 +141,7 @@ class MiniOverlay : public tsl::Gui {
141
141
else if (!key.compare (" TEMP" ) && !(flags & 1 << 3 )) {
142
142
if (print_text[0 ])
143
143
strcat (print_text, " \n " );
144
- strcat (print_text, " TEMP " );
144
+ strcat (print_text, " BRD " );
145
145
entry_count++;
146
146
if (settings.realVolts ) {
147
147
strcat (print_text, " \n " );
@@ -152,7 +152,7 @@ class MiniOverlay : public tsl::Gui {
152
152
else if (!key.compare (" DRAW" ) && !(flags & 1 << 4 )) {
153
153
if (print_text[0 ])
154
154
strcat (print_text, " \n " );
155
- strcat (print_text, " DRAW " );
155
+ strcat (print_text, " PWR " );
156
156
entry_count++;
157
157
flags |= (1 << 4 );
158
158
}
@@ -253,25 +253,25 @@ class MiniOverlay : public tsl::Gui {
253
253
mutexLock (&mutex_Misc);
254
254
255
255
char MINI_CPU_compressed_c[42 ] = " " ;
256
- char MINI_CPU_volt_c[7 ] = " " ;
256
+ char MINI_CPU_volt_c[10 ] = " " ;
257
257
if (settings.realFrequencies && realCPU_Hz) {
258
258
snprintf (MINI_CPU_compressed_c, sizeof (MINI_CPU_compressed_c),
259
- " [ %s,%s,%s,%s] @%hu.%hhu" ,
259
+ " %s,%s,%s,%s@%hu.%hhu" ,
260
260
MINI_CPU_Usage0, MINI_CPU_Usage1, MINI_CPU_Usage2, MINI_CPU_Usage3,
261
261
realCPU_Hz / 1000000 , (realCPU_Hz / 100000 ) % 10 );
262
262
}
263
263
else {
264
264
snprintf (MINI_CPU_compressed_c, sizeof (MINI_CPU_compressed_c),
265
- " [ %s,%s,%s,%s] @%hu.%hhu" ,
265
+ " %s,%s,%s,%s@%hu.%hhu" ,
266
266
MINI_CPU_Usage0, MINI_CPU_Usage1, MINI_CPU_Usage2, MINI_CPU_Usage3,
267
267
CPU_Hz / 1000000 , (CPU_Hz / 100000 ) % 10 );
268
268
}
269
269
if (settings.realVolts ) {
270
- snprintf (MINI_CPU_volt_c, sizeof (MINI_CPU_volt_c), " %umV" , realCPU_mV);
270
+ snprintf (MINI_CPU_volt_c, sizeof (MINI_CPU_volt_c), " = %umV" , realCPU_mV);
271
271
}
272
272
273
273
char MINI_GPU_Load_c[14 ];
274
- char MINI_GPU_volt_c[7 ] = " " ;
274
+ char MINI_GPU_volt_c[10 ] = " " ;
275
275
if (settings.realFrequencies && realGPU_Hz) {
276
276
snprintf (MINI_GPU_Load_c, sizeof (MINI_GPU_Load_c),
277
277
" %hu.%hhu%%@%hu.%hhu" ,
@@ -285,12 +285,12 @@ class MiniOverlay : public tsl::Gui {
285
285
GPU_Hz / 1000000 , (GPU_Hz / 100000 ) % 10 );
286
286
}
287
287
if (settings.realVolts ) {
288
- snprintf (MINI_GPU_volt_c, sizeof (MINI_GPU_volt_c), " %umV" , realGPU_mV);
288
+ snprintf (MINI_GPU_volt_c, sizeof (MINI_GPU_volt_c), " = %umV" , realGPU_mV);
289
289
}
290
290
291
291
// /RAM
292
292
char MINI_RAM_var_compressed_c[19 ] = " " ;
293
- char MINI_RAM_volt_c[12 ] = " " ;
293
+ char MINI_RAM_volt_c[15 ] = " " ;
294
294
if (R_FAILED (sysclkCheck) || !settings.showRAMLoad ) {
295
295
float RAM_Total_application_f = (float )RAM_Total_application_u / 1024 / 1024 ;
296
296
float RAM_Total_applet_f = (float )RAM_Total_applet_u / 1024 / 1024 ;
@@ -330,7 +330,7 @@ class MiniOverlay : public tsl::Gui {
330
330
}
331
331
}
332
332
if (settings.realVolts ) {
333
- snprintf (MINI_RAM_volt_c, sizeof (MINI_RAM_volt_c), " %u/%umV" , realRAM_mV/10000 , realRAM_mV%10000 );
333
+ snprintf (MINI_RAM_volt_c, sizeof (MINI_RAM_volt_c), " = %u/%umV" , realRAM_mV/10000 , realRAM_mV%10000 );
334
334
}
335
335
336
336
// /Thermal
@@ -347,10 +347,10 @@ class MiniOverlay : public tsl::Gui {
347
347
PCB_temperatureC / 1000 , (PCB_temperatureC / 100 ) % 10 ,
348
348
skin_temperaturemiliC / 1000 , (skin_temperaturemiliC / 100 ) % 10 );
349
349
}
350
- char MINI_SOC_volt_c[7 ] = " " ;
350
+ char MINI_SOC_volt_c[10 ] = " " ;
351
351
snprintf (Rotation_SpeedLevel_c, sizeof Rotation_SpeedLevel_c, " %2.1f%%" , Rotation_SpeedLevel_f * 100 );
352
352
if (settings.realVolts ) {
353
- snprintf (MINI_SOC_volt_c, sizeof (MINI_SOC_volt_c), " %umV" , realSOC_mV);
353
+ snprintf (MINI_SOC_volt_c, sizeof (MINI_SOC_volt_c), " = %umV" , realSOC_mV);
354
354
}
355
355
356
356
// /FPS
@@ -438,7 +438,7 @@ class MiniOverlay : public tsl::Gui {
438
438
}
439
439
else snprintf (remainingBatteryLife, sizeof remainingBatteryLife, " --:--" );
440
440
441
- snprintf (SoCPCB_temperature_c, sizeof SoCPCB_temperature_c, " %0.2fW [%s]" , PowerConsumption, remainingBatteryLife);
441
+ snprintf (SoCPCB_temperature_c, sizeof SoCPCB_temperature_c, " %.1f%s(%+.1fW) [%s]" , ( float )_batteryChargeInfoFields. RawBatteryCharge / 1000 , " % " , PowerConsumption, remainingBatteryLife);
442
442
mutexUnlock (&mutex_BatteryChecker);
443
443
444
444
}
0 commit comments