mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
Change important printfs to lg::print (#3355)
This allows them to be logged into a file, useful for debugging. With this, GOAL `format` and C-kernel `Msg` (and its variants) will be logged.
This commit is contained in:
@@ -138,7 +138,7 @@ u32 InitRPC() {
|
||||
!RpcBind(PLAY_RPC_CHANNEL, PLAY_RPC_ID[g_game_version])) {
|
||||
return 0;
|
||||
}
|
||||
printf("Entering endless loop ... please wait\n");
|
||||
lg::print("Entering endless loop ... please wait\n");
|
||||
for (;;) {
|
||||
}
|
||||
}
|
||||
@@ -150,9 +150,9 @@ void StopIOP() {
|
||||
x[2] = 0x14; // todo - this type and message
|
||||
// RpcSync(PLAYER_RPC_CHANNEL);
|
||||
// RpcCall(PLAYER_RPC_CHANNEL, 0, false, x, 0x50, nullptr, 0);
|
||||
printf("IOP shut down\n");
|
||||
lg::print("IOP shut down\n");
|
||||
// sceDmaSync(0x10009000, 0, 0);
|
||||
printf("DMA shut down\n");
|
||||
lg::print("DMA shut down\n");
|
||||
}
|
||||
|
||||
/*!
|
||||
@@ -199,4 +199,4 @@ void LoadDGOTest() {
|
||||
|
||||
sShowStallMsg = lastShowStall;
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user