[0.97] Do not count "L4" cache when computing the max cache level. Fixes #43

This commit is contained in:
Dr-Noob
2021-05-03 15:03:09 +02:00
parent fe7a99087d
commit e22c2a8f3c

View File

@@ -581,6 +581,7 @@ struct cache* get_cache_info_general(struct cache* cach, uint32_t level) {
} }
else { else {
printWarn("Found unknown unified cache at level %d (size is %d bytes)", cache_level, cache_total_size); printWarn("Found unknown unified cache at level %d (size is %d bytes)", cache_level, cache_total_size);
cach->max_cache_level--;
} }
break; break;