Fix PSP compiled
This commit is contained in:
1 parent
f23e26d9da
commit
d6c497731f
10 files changed
+48
-34
No files matched your search
+3
-2
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "assert.h"
|
||||
#include "debug/debug.h"
|
||||
|
||||
#ifndef ASSERTIONS_FAKED
|
||||
void assertTrueImpl(
|
||||
@@ -15,13 +16,13 @@
|
||||
const char *message
|
||||
) {
|
||||
if(x != true) {
|
||||
fprintf(
|
||||
stderr,
|
||||
debugPrint(
|
||||
"Assertion Failed in %s:%i\n\n%s\n",
|
||||
file,
|
||||
line,
|
||||
message
|
||||
);
|
||||
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user