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:
ManDude
2024-02-01 18:01:41 +00:00
committed by GitHub
parent b331d16bcc
commit d67b441dac
21 changed files with 124 additions and 80 deletions
+4 -4
View File
@@ -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;
*/
}
}