Convert Yoshi font and setup auto lba

This commit is contained in:
2023-06-14 22:04:01 +02:00
parent 4b02b9a7d2
commit 501ed1cd35
9 changed files with 42 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
#ifndef __ASSETS_HPP__
#define __ASSETS_HPP__
namespace Assets {
void load_for_main();
}
#endif //!__ASSETS_HPP__

View File

@@ -1,5 +1,7 @@
#include "assets.hpp"
#include <stdio.h>
void main() {
Assets::load_for_main();
printf("Planschbecken c:\n");
}

View File

@@ -0,0 +1,18 @@
#include "assets.hpp"
#include <PSX/File/Processor/cd_file_processor.hpp>
#include <PSX/AutoLBA/auto_lba_declaration.hpp>
#include <stdio.h>
namespace Assets {
enum LBA {
__jabyengine_start_lba_request
__jabyengine_request_lba_for(FONT, "ASSETS/MAIN/FONT.BIN"),
__jabyengine_end_lba_request
};
__declare_lba_header(LBA);
void load_for_main() {
printf("Loading assets! %i\n", lba[LBA::FONT].get_lba());
}
}