libexo/sc7fw: support release/debug/audit
This commit is contained in:
@@ -27,7 +27,7 @@ namespace ams::diag {
|
||||
|
||||
}
|
||||
|
||||
#ifdef AMS_ENABLE_DEBUG_PRINT
|
||||
#ifdef AMS_ENABLE_DETAILED_ASSERTIONS
|
||||
#define AMS_CALL_ASSERT_FAIL_IMPL(cond, ...) ::ams::diag::AssertionFailureImpl(__FILE__, __LINE__, __PRETTY_FUNCTION__, cond, 0, ## __VA_ARGS__)
|
||||
#define AMS_CALL_ABORT_IMPL(cond, ...) ::ams::diag::AbortImpl(__FILE__, __LINE__, __PRETTY_FUNCTION__, cond, 0, ## __VA_ARGS__)
|
||||
#else
|
||||
|
||||
@@ -17,15 +17,29 @@
|
||||
#include <vapours/includes.hpp>
|
||||
#include <vapours/defines.hpp>
|
||||
|
||||
#if 0
|
||||
#define AMS_BUILD_FOR_AUDITING
|
||||
#ifdef AMS_BUILD_FOR_AUDITING
|
||||
|
||||
#define AMS_BUILD_FOR_DEBUGGING
|
||||
|
||||
#if !defined(AMS_FORCE_DISABLE_DETAILED_ASSERTIONS)
|
||||
#define AMS_ENABLE_DETAILED_ASSERTIONS
|
||||
#endif
|
||||
|
||||
#ifdef AMS_BUILD_FOR_AUDITING
|
||||
#define AMS_BUILD_FOR_DEBUGGING
|
||||
#endif
|
||||
|
||||
#ifdef AMS_BUILD_FOR_DEBUGGING
|
||||
|
||||
#define AMS_ENABLE_ASSERTIONS
|
||||
#define AMS_ENABLE_DEBUG_PRINT
|
||||
|
||||
#if !defined(AMS_ENABLE_DETAILED_ASSERTIONS) && !defined(AMS_FORCE_DISABLE_DETAILED_ASSERTIONS)
|
||||
|
||||
#if !defined(ATMOSPHERE_IS_EXOSPHERE) || defined(AMS_FORCE_ENABLE_DETAILED_ASSERTIONS)
|
||||
|
||||
#define AMS_ENABLE_DETAILED_ASSERTIONS
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user