summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-27 23:50:49 -0400
committerbd <bdunahu@operationnull.com>2025-04-27 23:50:49 -0400
commitccd9b29afac5d745bba814551246edb7f681c711 (patch)
treec65b4ff189740878dbbfb2af35a40726f57d81c1 /gui
parent336faf3fd701aaf962613abd1ff0a69cbdf021ce (diff)
Make cache generation more reasonable
Diffstat (limited to 'gui')
-rw-r--r--gui/util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/util.cc b/gui/util.cc
index b62ed81..df4bc24 100644
--- a/gui/util.cc
+++ b/gui/util.cc
@@ -4,8 +4,8 @@
int cache_size_mapper(int total_levels, int level)
{
- const int y_min = 4;
- const int y_max = MEM_LINE_SPEC - 4;
+ const int y_min = 5;
+ const int y_max = MEM_LINE_SPEC - 2;
double f, r;
if (total_levels <= 0)