mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 15:02:01 -04:00
1dff571820
Closes #1496 This brings back the SCE splash screens. Also adds a runtime flag `-nosplash` to skip it. Right now, it's on by default, but open to changes on that (maybe always disable in debug to speed up start times, etc.).
42 lines
895 B
C++
42 lines
895 B
C++
#include "kboot.h"
|
|
|
|
#include <cstring>
|
|
|
|
// Set to 1 to kill GOAL kernel
|
|
RuntimeExitStatus MasterExit;
|
|
|
|
// Set to 1 to load game engine after boot automatically
|
|
u32 DiskBoot;
|
|
|
|
// Set to 1 to enable debug heap
|
|
u32 MasterDebug;
|
|
|
|
// added in pc port for splash screen
|
|
Timer SplashTimer;
|
|
u32 SplashScreen;
|
|
|
|
// Set to 1 to load debug code
|
|
u32 DebugSegment;
|
|
|
|
u32 MasterUseKernel;
|
|
|
|
// Level to load on boot
|
|
char DebugBootLevel[64];
|
|
|
|
// Pass to GOAL kernel on boot
|
|
char DebugBootMessage[64];
|
|
|
|
// game configuration
|
|
MasterConfig masterConfig;
|
|
|
|
void kboot_init_globals_common() {
|
|
MasterExit = RuntimeExitStatus::RUNNING;
|
|
DiskBoot = 0;
|
|
MasterDebug = 1;
|
|
DebugSegment = 1;
|
|
MasterUseKernel = 1;
|
|
SplashScreen = 1;
|
|
strcpy(DebugBootLevel, "#f"); // no specified level
|
|
strcpy(DebugBootMessage, "play"); // play mode, the default retail mode
|
|
memset(&masterConfig, 0, sizeof(MasterConfig));
|
|
} |