From a7e20c57732cc00d7f8083f2bc57b528c1309e3e Mon Sep 17 00:00:00 2001 From: Trevor Rudolph Date: Sun, 19 May 2024 16:27:45 -0400 Subject: [PATCH] fix animation skip --- cubeboot/source/config.h | 3 ++- patches/source/main.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cubeboot/source/config.h b/cubeboot/source/config.h index a1120df..d483b7b 100644 --- a/cubeboot/source/config.h +++ b/cubeboot/source/config.h @@ -1,9 +1,10 @@ // #define TEST_IPL_PATH "/gc-ntsc-11.bin" // #define FORCE_IPL_LOAD +// #define TEST_SKIP_ANIMATION // #define DOLPHIN_DELAY_ENABLE -#define CONFIG_ALPHA_RC "30" +#define CONFIG_ALPHA_RC "31" // #define USE_FAT_LIBFAT #define USE_FAT_FATFS diff --git a/patches/source/main.c b/patches/source/main.c index 613e789..5cb84e4 100644 --- a/patches/source/main.c +++ b/patches/source/main.c @@ -376,9 +376,11 @@ __attribute_used__ u32 bs2tick() { return STATE_START_GAME; } +#ifdef TEST_SKIP_ANIMATION if (TEST_ONLY_skip_animation) { return STATE_COVER_OPEN; } +#endif // TODO: allow the user to decide if they want to logo to play // return STATE_COVER_OPEN;