From b8fbd0baff74efe50f0aadf9782c47ee33751131 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 2 Dec 2020 06:48:42 -0800 Subject: [PATCH] fssystem: fix bug in BufferedStorage --- .../source/fssystem/save/fssystem_buffered_storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp b/libraries/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp index c8e1354b1..c43e06f3e 100644 --- a/libraries/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp +++ b/libraries/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp @@ -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]);