diff --git a/include/config.h b/include/config.h index eb66b7e53..7c1a79dc0 100644 --- a/include/config.h +++ b/include/config.h @@ -51,5 +51,8 @@ #define AUTO_LOD // Uncomment this if you want to keep the mario head and not skip it //#define KEEP_MARIO_HEAD +// Uncomment this if you want to skip the title screen (Super Mario 64 logo) +//#define SKIP_TITLE_SCREEN + #endif // CONFIG_H diff --git a/levels/intro/script.c b/levels/intro/script.c index 72d5088a2..e0109bed6 100644 --- a/levels/intro/script.c +++ b/levels/intro/script.c @@ -22,6 +22,9 @@ const LevelScript level_intro_splash_screen[] = { INIT_LEVEL(), +#ifdef SKIP_TITLE_SCREEN + EXIT_AND_EXECUTE(/*seg*/ 0x14, _introSegmentRomStart, _introSegmentRomEnd, level_intro_mario_head_regular), +#endif FIXED_LOAD(/*loadAddr*/ _goddardSegmentStart, /*romStart*/ _goddardSegmentRomStart, /*romEnd*/ _goddardSegmentRomEnd), LOAD_RAW(/*seg*/ 0x13, _behaviorSegmentRomStart, _behaviorSegmentRomEnd), LOAD_YAY0(/*seg*/ 0x07, _intro_segment_7SegmentRomStart, _intro_segment_7SegmentRomEnd),