fssystem: fix bug in BufferedStorage

This commit is contained in:
Michael Scire 2020-12-02 06:48:42 -08:00
parent 525da05629
commit b8fbd0baff

View File

@ -601,7 +601,7 @@ namespace ams::fssystem::save {
this->base_storage = base_storage;
this->buffer_manager = buffer_manager;
this->block_size = block_size;
this->cache_count = cache_count;
this->cache_count = buffer_count;
/* Allocate the caches. */
this->caches.reset(new Cache[buffer_count]);