diff options
author | bd <bdunahu@operationnull.com> | 2025-04-26 23:49:35 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-26 23:49:35 -0400 |
commit | 270d5c95c46385b7f8c3ad5ffd1adb4ac5a43acb (patch) | |
tree | 49ac24e66f02c2d7ceb589d28c5fab593059d0c4 /gui/worker.cc | |
parent | d449750f789076459de8d47c2960a1279e543c32 (diff) |
Fix bug which caused a very large allocation
Diffstat (limited to 'gui/worker.cc')
-rw-r--r-- | gui/worker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/worker.cc b/gui/worker.cc index 93ccbea..f490fb4 100644 --- a/gui/worker.cc +++ b/gui/worker.cc @@ -48,7 +48,7 @@ void Worker::configure( for (i = ways.size(); i > 0; --i) { s = static_cast<Storage *>(new Cache( - s, cache_size_mapper(ways.size() - 1, i), ways.at(i - 1), + s, cache_size_mapper(ways.size() - 1, i - 1), ways.at(i - 1), CACHE_DELAY + i)); this->s.push_front(s); } |