Initial commit

This commit is contained in:
daoge_cmd
2026-03-01 12:16:08 +08:00
parent def8cb4153
commit b691c43c44
19437 changed files with 4363922 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#pragma once
#include <stdio.h>
#include <libdbg.h>
#ifdef _CONTENT_PACKAGE
#define ORBIS_ASSERT(val)
#elif defined(_RELEASE_FOR_ART)
#define ORBIS_ASSERT(val)
#else
#define ORBIS_ASSERT(val) if(!(val)) { printf("------------------------------------------ \n"); \
printf("Func : %s \n", __FUNCTION__); \
printf("File : %s \n", __FILE__); \
printf("Line : %d \n",__LINE__ ); \
printf("assert(%s) failed!!!\n", #val); \
printf("------------------------------------------ \n"); \
SCE_BREAK(); }
#endif
#define assert ORBIS_ASSERT