mirror of
https://github.com/open-goal/jak-project
synced 2026-07-11 15:28:58 -04:00
Compiler Cleanup (Part 2) (#56)
* check on windows * fix windows build * version test * clean up - will it work on windows * fix formatting
This commit is contained in:
@@ -47,12 +47,15 @@ u32 DebugSegment;
|
||||
// Set to 1 to load game engine after boot automatically
|
||||
u32 DiskBoot;
|
||||
|
||||
u32 MasterUseKernel;
|
||||
|
||||
void kboot_init_globals() {
|
||||
strcpy(DebugBootLevel, "#f"); // no specified level
|
||||
strcpy(DebugBootMessage, "play"); // play mode, the default retail mode
|
||||
|
||||
MasterExit = 0;
|
||||
MasterDebug = 1;
|
||||
MasterUseKernel = 1;
|
||||
DebugSegment = 1;
|
||||
DiskBoot = 0;
|
||||
memset(&masterConfig, 0, sizeof(MasterConfig));
|
||||
@@ -117,6 +120,9 @@ s32 goal_main(int argc, const char* const* argv) {
|
||||
if (InitMachine() >= 0) { // init kernel
|
||||
KernelCheckAndDispatch(); // run kernel
|
||||
ShutdownMachine(); // kernel died, we should too.
|
||||
} else {
|
||||
fprintf(stderr, "InitMachine failed\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user