Fix CDXA on PS3
This commit is contained in:
@@ -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();
|
||||
|
@@ -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;
|
||||
|
@@ -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>
|
Reference in New Issue
Block a user