Debugging functions.

This commit is contained in:
2026-02-04 18:32:20 -06:00
parent dd910a31aa
commit d955fb6430
8 changed files with 107 additions and 3 deletions

View File

@@ -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.");