erpt: fix multiple issues with automatic report cleanup (thanks @yellows8)
* Setting retrieval was performed before the call that used the setting.
* Call to detect number of files passed incomplete path and was guaranteed to fail.
* Call to delete reports passed incomplete path and was guaranteed to do nothing.
1 parent 1f8798a commit 04c9004e05facdf83ea0a351a215f761f51b9c43
@Michael Scire Michael Scire authored on 13 Dec 2022
Showing 3 changed files
View
libraries/libstratosphere/include/stratosphere/erpt/srv/erpt_srv_types.hpp
View
libraries/libstratosphere/source/erpt/srv/erpt_srv_main.cpp
View
stratosphere/erpt/source/erpt_main.cpp