Create BIOS Info Overlay
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <PSX/AutoLBA/auto_lba_declaration.hpp>
|
||||
#include <stdio.h>
|
||||
|
||||
extern "C" uint32_t __bios_info_start;
|
||||
extern "C" uint32_t __controller_tests_start;
|
||||
extern "C" uint32_t __gpu_tests_start;
|
||||
extern "C" uint32_t __screen_center_start;
|
||||
@@ -14,6 +15,7 @@ namespace Assets {
|
||||
__jabyengine_start_lba_request
|
||||
__jabyengine_request_lba_for(PACO, "ASSETS/MAIN/PACO.BIN"),
|
||||
__jabyengine_request_lba_for(DFISH, "ASSETS/MAIN/DFISH.BIN"),
|
||||
__jabyengine_request_lba_for(BIOS_INFO_OVL, "BIO.BIN"),
|
||||
__jabyengine_request_lba_for(GPU_TEST_OVL, "GTO.BIN"),
|
||||
__jabyengine_request_lba_for(GTE_TEST_OVL, "GTE.BIN"),
|
||||
__jabyengine_request_lba_for(CONT_TEST_OVL, "CTO.BIN"),
|
||||
@@ -63,7 +65,16 @@ namespace Assets {
|
||||
}
|
||||
|
||||
namespace Overlay {
|
||||
// All these loadings can be done by one function taking the LBA of ther overlay, the new LBA and the new Asset array
|
||||
// TODO: All these loadings can be done by one function taking the LBA of ther overlay, the new LBA and the new Asset array
|
||||
|
||||
void load_bios_info() {
|
||||
const CDFile Files[] = {
|
||||
CDFileBuilder::overlay(LBA::BIOS_INFO_OVL, &__bios_info_start)
|
||||
};
|
||||
|
||||
::Assets::load(lba, Files);
|
||||
}
|
||||
|
||||
void load_controller_test() {
|
||||
const CDFile Files[] = {
|
||||
CDFileBuilder::overlay(LBA::CONT_TEST_OVL, &__controller_tests_start)
|
||||
|
Reference in New Issue
Block a user