Playertest: scene/script system refactor and Wii ABI fix
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -50,12 +50,20 @@ errorret_t assetInitLinux(void) {
|
||||
const char_t **path = ASSET_LINUX_SEARCH_PATHS;
|
||||
int32_t error;
|
||||
do {
|
||||
sprintf(
|
||||
searchPath,
|
||||
char_t temp[ASSET_FILE_PATH_MAX];
|
||||
snprintf(
|
||||
temp,
|
||||
ASSET_FILE_PATH_MAX,
|
||||
*path,
|
||||
ASSET.platform.systemPath,
|
||||
ASSET_FILE_NAME
|
||||
);
|
||||
snprintf(
|
||||
searchPath,
|
||||
ASSET_FILE_PATH_MAX,
|
||||
"%s/%s",
|
||||
ASSET.platform.systemPath,
|
||||
temp
|
||||
);
|
||||
|
||||
// Try open
|
||||
ASSET.zip = zip_open(searchPath, ZIP_RDONLY, &error);
|
||||
|
||||
Reference in New Issue
Block a user