Add compile time endianess
This commit is contained in:
@@ -94,7 +94,9 @@ errorret_t assetLoad(const char_t *filename, void *output) {
|
||||
void *data = memoryAllocate(fileSize);
|
||||
if(!data) {
|
||||
zip_fclose(file);
|
||||
errorThrow("Failed to allocate memory for asset data of file: %s", filename);
|
||||
errorThrow(
|
||||
"Failed to allocate memory for asset data of file: %s", filename
|
||||
);
|
||||
}
|
||||
|
||||
// Read in the asset data.
|
||||
|
||||
Reference in New Issue
Block a user