Convert Yoshi font and setup auto lba
This commit is contained in:
8
examples/PoolBox/application/src/assets.hpp
Normal file
8
examples/PoolBox/application/src/assets.hpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef __ASSETS_HPP__
|
||||
#define __ASSETS_HPP__
|
||||
|
||||
namespace Assets {
|
||||
void load_for_main();
|
||||
}
|
||||
|
||||
#endif //!__ASSETS_HPP__
|
@@ -1,5 +1,7 @@
|
||||
#include "assets.hpp"
|
||||
#include <stdio.h>
|
||||
|
||||
void main() {
|
||||
Assets::load_for_main();
|
||||
printf("Planschbecken c:\n");
|
||||
}
|
18
examples/PoolBox/application/src/main_assets.cpp
Normal file
18
examples/PoolBox/application/src/main_assets.cpp
Normal 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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user