From 8233fa00ac730c6e5c6f7866e1c7d26863bf28fc 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/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp b/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp index c8e1354b..c43e06f3 100644 --- a/libstratosphere/source/fssystem/save/fssystem_buffered_storage.cpp +++ b/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]);