Fix CDXA on PS3

This commit is contained in:
2024-07-20 16:05:53 +02:00
parent 58c140335f
commit e27ccd9f63
8 changed files with 20 additions and 13 deletions

View File

@@ -169,6 +169,11 @@ namespace NormalScene {
FontWriter::new_font_writer.write(cursor, Title, GPU::Color24::Yellow(0xD0), &FontWriter::wiggle);
FontWriter::new_font_writer.write(cursor.change_position(Make::PositionI16((GPU::Display::Width-VersionLength)/2, 16 + DefaultFont::Info.get_kern_size().height)), Version, GPU::Color24::Green(0xD0), &FontWriter::wiggle);
menu.update(FontWriter::bios_font_writer, cursor, Make::PositionI16(8, 64));
// TODO: Make this a feature
// Force state change for now
/*state_changer.asset_load = Assets::Overlay::load_gpu_test;
state_changer.main = GPUTest::main;*/
}
static void render() {
@@ -201,7 +206,7 @@ namespace LoadingScene {
static void run() {
if(true) {//(old_state_changer != state_changer) {
printf("Loading new state...\n");
//printf("Loading new state...\n");
// TODO: Callback for file load? Locally?
update();

View File

@@ -49,7 +49,7 @@ namespace Menu {
bool BackMenu :: update(const GPU::PositionI16& position, bool auto_clear) {
const auto& controller = Periphery::get_primary_controller_as<JabyEngine::Periphery::GenericController>();
if(controller.button.is_down(DigitalButton::Circle)) {
if(true/*controller.button.is_down(DigitalButton::Circle)*/) {
this->waiting = true;
if(this->timeout.is_expired_for(2500_ms)) {
return true;

View File

@@ -37,5 +37,12 @@
<Channel>../assets/bin/Evacuation.xa</Channel>
</XA-Audio>
</Directory>
<!-- TODO: Support lead out track of 2 seconds for PS3 -->
<Directory hidden = "true">
<File>../assets/bin/fox.xa</File>
<File>../assets/bin/fox.xa</File>
<File>../assets/bin/fox.xa</File>
<File>../assets/bin/fox.xa</File>
</Directory>
</Track>
</ISO_Project>