summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-04-28 13:38:19 -0400
committerGitHub <noreply@github.com>2025-04-28 13:38:19 -0400
commit6562ed9a4e43c15c89fb20b9edc5128b4128929b (patch)
tree90633420f83bb7633852ef13731297773bc72e68
parent013a79547aa465872d0262b2f5c24e73f9556869 (diff)
parenta872da5612eb73b841bdd052354a2f7b1007d873 (diff)
Merge pull request #74 from bdunahu/bdunahu
version bump + make cache generation more reasonable
-rw-r--r--gui/main.cc2
-rw-r--r--gui/util.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/main.cc b/gui/main.cc
index 9877a3c..c7b3d30 100644
--- a/gui/main.cc
+++ b/gui/main.cc
@@ -26,7 +26,7 @@
static Logger *global_log = Logger::getInstance();
-static std::string version_number = "v0.1";
+static std::string version_number = "v0.8";
// clang-format off
static std::string banner =
" _/_/_/ _/_/_/ _/_/_/ _/_/_/ \n"
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)