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

@@ -11,28 +11,14 @@
#include "input/input.h"
int main(int argc, char **argv) {
// Write out launch args
printf("Launching Dusk with %d args:\n", argc);
for(int i = 0; i < argc; i++) {
printf(" Arg %d: %s\n", i, argv[i]);
}
errorret_t ret;
// Init engine
ret = engineInit();
ret = engineInit(argc, (const char_t **)argv);
if(ret.code != ERROR_OK) {
errorCatch(errorPrint(ret));
return ret.code;
}
// Setup system path on asset manager
if(argc > 0) {
stringCopy(
ASSET.systemPath, argv[0],
sizeof(ASSET.systemPath) / sizeof(char_t)
);
}
// Begin main loop
do {