Last Minute fixes

This commit is contained in:
Fazana
2021-09-14 11:29:08 +01:00
parent 12b1c1a71c
commit 6e07c3c724
3 changed files with 3 additions and 12 deletions

View File

@@ -2351,7 +2351,9 @@ void play_music(u8 player, u16 seqArgs, u16 fadeTimer) {
// Abort if the queue is already full.
if (sBackgroundMusicQueueSize >= MAX_BACKGROUND_MUSIC_QUEUE_SIZE) {
#if PUPPYPRINT_DEBUG
append_puppyprint_log("Sequence queue full, aborting.");
#endif
return;
}

View File

@@ -198,7 +198,7 @@ void draw_crash_screen(OSThread *thread) {
crash_screen_print(30, 35, "PC:%08XH SR:%08XH RA:%08XH", tc->pc, tc->sr, (u32) tc->ra);
#endif
crash_screen_draw_rect(25, 45, 270, 185);
#ifndef PUPPYPRINT
#if !PUPPYPRINT_DEBUG
crash_screen_print(30, 50, "AT:%08XH V0:%08XH V1:%08XH", (u32) tc->at, (u32) tc->v0,
(u32) tc->v1);
crash_screen_print(30, 60, "A0:%08XH A1:%08XH A2:%08XH", (u32) tc->a0, (u32) tc->a1,

View File

@@ -789,17 +789,6 @@ void thread5_game_loop(UNUSED void *arg) {
display_and_vsync();
if (gPlayer1Controller->buttonPressed & L_TRIG)
{
//*(volatile int*) 0 = 0;
set_background_music(SEQ_LEVEL_SLIDE, SEQUENCE_ARGS(0xFF, SEQ_LEVEL_SLIDE), 30);
}
if (gPlayer1Controller->buttonPressed & R_TRIG)
{
set_background_music(SEQ_LEVEL_GRASS, SEQUENCE_ARGS(0xFF, SEQ_LEVEL_GRASS), 30);
}
// when debug info is enabled, print the "BUF %d" information.
if (gShowDebugText) {
// subtract the end of the gfx pool with the display list to obtain the