PSP now reads data directly from EBOOT if requested

This commit is contained in:
2025-11-09 15:42:26 -06:00
parent aaa8622956
commit 5206d47b43
5 changed files with 160 additions and 20 deletions

View File

@@ -18,9 +18,11 @@
engine_t ENGINE;
errorret_t engineInit(void) {
errorret_t engineInit(const int32_t argc, const char_t **argv) {
memoryZero(&ENGINE, sizeof(engine_t));
ENGINE.running = true;
ENGINE.argc = argc;
ENGINE.argv = argv;
// Init systems. Order is important.
timeInit();

View File

@@ -11,14 +11,19 @@
typedef struct {
bool_t running;
int32_t argc;
const char_t **argv;
} engine_t;
extern engine_t ENGINE;
/**
* Initializes the engine.
*
* @param argc The argument count from main().
* @param argv The argument vector from main().
*/
errorret_t engineInit(void);
errorret_t engineInit(const int32_t argc, const char_t **argv);
/**
* Updates the engine.