Skip to content

Commit cdc8140

Browse files
authored
Rough estimate for compatibility
1 parent fae5830 commit cdc8140

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static uint16_t **some_strdup_patched(uint16_t **a1, uint16_t *a2, int a2_size)
131131
if (in_draw_time) {
132132
static int oldpercent = 0;
133133
int percent = scePowerGetBatteryLifePercent();
134-
percent = scaleValue(percent, 13, 100, 1, 100); //Scale the percentage considering the vita turns off at ≈12/13%
134+
percent = scaleValue(percent, 12, 100, 0, 100); //Scale the percentage considering the vita turns off at ≈12/13%
135135
if (percent < 0 || percent > (100)) {
136136
percent = oldpercent;
137137
}

0 commit comments

Comments
 (0)