mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-18 13:00:23 +00:00
[iQue] Create/update macros for printing debug strings (#2398)
This commit is contained in:
parent
a3c3c38fea
commit
f329507f97
65 changed files with 328 additions and 303 deletions
|
@ -1908,10 +1908,10 @@ void FileSelect_LoadGame(GameState* thisx) {
|
|||
// capacity and `magicFillTarget`
|
||||
gSaveContext.save.info.playerData.magicLevel = gSaveContext.save.info.playerData.magic = 0;
|
||||
|
||||
PRINTF(VT_FGCOL(GREEN));
|
||||
PRINTF_COLOR_GREEN();
|
||||
PRINTF("Z_MAGIC_NOW_NOW=%d MAGIC_NOW=%d\n", ((void)0, gSaveContext.magicFillTarget),
|
||||
gSaveContext.save.info.playerData.magic);
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
|
||||
gSaveContext.save.info.playerData.naviTimer = 0;
|
||||
|
||||
|
|
|
@ -1347,13 +1347,13 @@ void FileSelect_UpdateOptionsMenu(GameState* thisx) {
|
|||
#endif
|
||||
PRINTF("SAVE");
|
||||
Sram_WriteSramHeader(sramCtx);
|
||||
PRINTF(VT_FGCOL(YELLOW));
|
||||
PRINTF_COLOR_YELLOW();
|
||||
PRINTF("sram->read_buff[2] = J_N = %x\n", sramCtx->readBuff[2]);
|
||||
PRINTF("sram->read_buff[2] = J_N = %x\n", &sramCtx->readBuff[2]);
|
||||
PRINTF("Na_SetSoundOutputMode = %d\n", gSaveContext.audioSetting);
|
||||
PRINTF("Na_SetSoundOutputMode = %d\n", gSaveContext.audioSetting);
|
||||
PRINTF("Na_SetSoundOutputMode = %d\n", gSaveContext.audioSetting);
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
func_800F6700(gSaveContext.audioSetting);
|
||||
PRINTF("終了\n");
|
||||
return;
|
||||
|
|
|
@ -20,9 +20,9 @@ void MapSelect_LoadTitle(MapSelectState* this) {
|
|||
}
|
||||
|
||||
void MapSelect_LoadGame(MapSelectState* this, s32 entranceIndex) {
|
||||
PRINTF(VT_FGCOL(BLUE));
|
||||
PRINTF_COLOR_BLUE();
|
||||
PRINTF("\n\n\nFILE_NO=%x\n\n\n", gSaveContext.fileNum);
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
if (gSaveContext.fileNum == 0xFF) {
|
||||
Sram_InitDebugSave();
|
||||
// Set the fill target to be the saved magic amount
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue