mirror of
https://github.com/zeldaret/ss
synced 2026-09-04 02:09:59 -04:00
Various exception/assert files
This commit is contained in:
@@ -30,3 +30,7 @@ Implemented by SS based on NSMBW symbols. Probably missing some parts, sync with
|
||||
## s_FPhase
|
||||
|
||||
SS-only. Symbols/names completely made up.
|
||||
|
||||
## s_Assert, s_Print
|
||||
|
||||
SS-only. Symbols/names completely made up.
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef S_ASSERT_H
|
||||
#define S_ASSERT_H
|
||||
|
||||
namespace sAssert {
|
||||
|
||||
typedef void (*AssertCallback)(void *);
|
||||
|
||||
void setAssertCallback(AssertCallback cb);
|
||||
void assert();
|
||||
|
||||
} // namespace sAssert
|
||||
|
||||
#endif
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
namespace sCrc {
|
||||
|
||||
u32 calcCRC(const void *ptr, u32 size);
|
||||
u32 calcCRC32(const void *ptr, u32 size);
|
||||
|
||||
} // namespace sCrc
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#ifndef S_PRINT_H
|
||||
#define S_PRINT_H
|
||||
|
||||
namespace sLib {
|
||||
|
||||
void printf(const char *msg, ...);
|
||||
|
||||
} // namespace sLib
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user