Debugging functions.
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
|
||||
errorret_t assetInit(void) {
|
||||
memoryZero(&ASSET, sizeof(asset_t));
|
||||
|
||||
#if DOLPHIN
|
||||
errorOk();
|
||||
#endif
|
||||
|
||||
// Engine may have been provided the launch path
|
||||
if(ENGINE.argc > 0) {
|
||||
@@ -174,6 +178,10 @@ bool_t assetFileExists(const char_t *filename) {
|
||||
}
|
||||
|
||||
errorret_t assetLoad(const char_t *filename, void *output) {
|
||||
#if DOLPHIN
|
||||
errorOk();
|
||||
#endif
|
||||
|
||||
assertStrLenMax(filename, FILENAME_MAX, "Filename too long.");
|
||||
assertNotNull(output, "Output pointer cannot be NULL.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user