File mode progress.

This commit is contained in:
J-D-K
2025-09-03 15:54:54 -04:00
parent 75303dcebb
commit a072c28dfb
82 changed files with 1489 additions and 372 deletions

View File

@@ -1,15 +0,0 @@
#pragma once
#include <source_location>
#include <switch.h>
namespace error
{
/// @brief Logs and returns if a call from libnx fails.
bool libnx(Result code, const std::source_location &location = std::source_location::current());
/// @brief Logs and returns if an fslib function fails.
bool fslib(bool result, const std::source_location &location = std::source_location::current());
/// @brief Returns whether or not the pointer passed is null. Records the location in which this occurred.
bool is_null(const void *pointer, const std::source_location &location = std::source_location::current());
}