Removed debug code
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <stratosphere/kvdb/kvdb_memory_key_value_store.hpp>
|
||||
#include <optional>
|
||||
|
||||
#include "../debug.hpp"
|
||||
#include "../ncm_contentmetadatabase.hpp"
|
||||
#include "../ncm_contentstorage.hpp"
|
||||
#include "../ncm_fs.hpp"
|
||||
@@ -150,9 +149,6 @@ namespace sts::ncm::impl {
|
||||
if (g_initialized) {
|
||||
return ResultSuccess;
|
||||
}
|
||||
|
||||
R_ASSERT(debug::Initialize());
|
||||
debug::DebugLog("ContentManager::InitializeContentManager\n");
|
||||
|
||||
size_t cur_storage_index = g_num_content_storage_entries;
|
||||
|
||||
@@ -257,8 +253,6 @@ namespace sts::ncm::impl {
|
||||
}
|
||||
|
||||
void FinalizeContentManager() {
|
||||
debug::DebugLog("Finalizing content manager...\n");
|
||||
|
||||
{
|
||||
std::scoped_lock<HosMutex> lk(g_mutex);
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#include "../ncm_make_path.hpp"
|
||||
#include "../ncm_path_utils.hpp"
|
||||
|
||||
#include "../debug.hpp"
|
||||
|
||||
namespace sts::ncm::impl {
|
||||
|
||||
unsigned int PlaceHolderAccessor::GetDirectoryDepth() {
|
||||
@@ -66,7 +64,6 @@ namespace sts::ncm::impl {
|
||||
this->EnsureRecursively(placeholder_id);
|
||||
this->GetPlaceHolderPathUncached(placeholder_path, placeholder_id);
|
||||
|
||||
debug::DebugLog("Creating %s\n", placeholder_path);
|
||||
R_TRY_CATCH(fsdevCreateFile(placeholder_path, size, FS_CREATE_BIG_FILE)) {
|
||||
R_CATCH(ResultFsPathAlreadyExists) {
|
||||
return ResultNcmPlaceHolderAlreadyExists;
|
||||
@@ -81,7 +78,6 @@ namespace sts::ncm::impl {
|
||||
|
||||
this->GetPlaceHolderPathUncached(placeholder_path, placeholder_id);
|
||||
|
||||
debug::DebugLog("Deleting %s\n", placeholder_path);
|
||||
if (std::remove(placeholder_path) != 0) {
|
||||
R_TRY_CATCH(fsdevGetLastResult()) {
|
||||
R_CATCH(ResultFsPathNotFound) {
|
||||
|
||||
Reference in New Issue
Block a user