Remove debug code (again)

This commit is contained in:
Adubbz 2019-08-08 18:24:56 +10:00
parent 1aa4c12e5e
commit 168447d80e
15 changed files with 0 additions and 565 deletions

View file

@ -20,8 +20,6 @@
#include "../ncm_make_path.hpp"
#include "../ncm_path_utils.hpp"
#include "../debug.hpp"
namespace sts::ncm::impl {
Result PlaceHolderAccessor::Open(FILE** out_handle, PlaceHolderId placeholder_id) {
@ -128,7 +126,6 @@ namespace sts::ncm::impl {
this->EnsureRecursively(placeholder_id);
this->GetPath(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;
@ -143,7 +140,6 @@ namespace sts::ncm::impl {
this->GetPath(placeholder_path, placeholder_id);
debug::DebugLog("Deleting %s\n", placeholder_path);
if (std::remove(placeholder_path) != 0) {
R_TRY_CATCH(fsdevGetLastResult()) {
R_CATCH(ResultFsPathNotFound) {