Scene script

This commit is contained in:
2026-04-20 15:34:24 -05:00
parent b89ae2391b
commit b640295be2
14 changed files with 143 additions and 27 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ errorret_t assetInitDolphin(void) {
if(!fatInitDefault()) errorThrow("Failed to initialize FAT filesystem.");
char_t **dolphinSearchPath = (char_t **)ASSET_DOLPHIN_PATHS;
char_t foundPath[FILENAME_MAX];
char_t foundPath[ASSET_FILE_PATH_MAX];
foundPath[0] = '\0';
do {
// Try open dir
@@ -40,7 +40,7 @@ errorret_t assetInitDolphin(void) {
// Copy out filename
snprintf(
foundPath,
FILENAME_MAX,
ASSET_FILE_PATH_MAX,
"%s/%s",
*dolphinSearchPath,
ASSET_FILE_NAME
+1
View File
@@ -7,6 +7,7 @@
#pragma once
#include "error/error.h"
#include "asset/assetfile.h"
static const char_t *ASSET_DOLPHIN_PATHS[] = {
"/",