mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-11-19 02:10:19 +00:00
feat: init
This commit is contained in:
commit
25809b8455
18807 files changed
+3944357
No files matched your search
@@ -0,0 +1,20 @@
|
||||
|
||||
#pragma once
|
||||
#include <stdio.h>
|
||||
#include <libdbg.h>
|
||||
|
||||
#ifdef _CONTENT_PACKAGE
|
||||
#define PSVITA_ASSERT(val)
|
||||
#elif defined(_RELEASE_FOR_ART)
|
||||
#define PSVITA_ASSERT(val)
|
||||
#else
|
||||
#define PSVITA_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 PSVITA_ASSERT
|
||||
Reference in new issue
Block a user