Renders on PSP identically.

This commit is contained in:
2026-03-08 19:51:00 -05:00
parent 4bf26dc818
commit c161809248
18 changed files with 344 additions and 93 deletions
+17 -3
View File
@@ -6,9 +6,8 @@
*/
#pragma once
#include "dusk.h"
#include "error/error.h"
#define ASSET_PBP_READ_PBP_FROM_HOST 0
#define ASSET_PBP_SIGNATURE_SIZE 4
#define ASSET_PBP_SIGNATURE "\0PBP"
@@ -28,4 +27,19 @@ typedef struct {
typedef struct {
FILE *pbpFile;
assetpbpheader_t pbpHeader;
} assetpbp_t;
} assetpbp_t;
/**
* Initializes the PBP style asset system.
*
* @param pbpPath The file path to the PBP file to read.
* @returns An errorret_t indicating success or failure of the operation.
*/
errorret_t assetInitPBP(const char_t *pbpPath);
/**
* Disposes the PBP style asset system.
*
* @returns An errorret_t indicating success or failure of the operation.
*/
errorret_t assetDisposePBP(void);