mirror of
https://github.com/zeldaret/oot
synced 2026-09-06 19:01:01 -04:00
[iQue] Create/update macros for printing debug strings (#2398)
This commit is contained in:
+4
-4
@@ -87,9 +87,9 @@ void Object_InitContext(PlayState* play, ObjectContext* objectCtx) {
|
||||
objectCtx->slots[i].id = OBJECT_INVALID;
|
||||
}
|
||||
|
||||
PRINTF(VT_FGCOL(GREEN));
|
||||
PRINTF_COLOR_GREEN();
|
||||
PRINTF(T("オブジェクト入れ替えバンク情報 %8.3fKB\n", "Object exchange bank data %8.3fKB\n"), spaceSize / 1024.0f);
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
|
||||
objectCtx->spaceStart = objectCtx->slots[0].segment =
|
||||
GAME_STATE_ALLOC(&play->state, spaceSize, "../z_scene.c", 219);
|
||||
@@ -195,9 +195,9 @@ s32 Scene_ExecuteCommands(PlayState* play, SceneCmd* sceneCmd) {
|
||||
if (cmdCode < ARRAY_COUNT(sSceneCmdHandlers)) {
|
||||
sSceneCmdHandlers[cmdCode](play, sceneCmd);
|
||||
} else {
|
||||
PRINTF(VT_FGCOL(RED));
|
||||
PRINTF_COLOR_RED();
|
||||
PRINTF(T("code の値が異常です\n", "code variable is abnormal\n"));
|
||||
PRINTF(VT_RST);
|
||||
PRINTF_RST();
|
||||
}
|
||||
|
||||
sceneCmd++;
|
||||
|
||||
Reference in New Issue
Block a user