diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-08-17 22:42:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-17 22:42:09 +0200 |
| commit | 56ca23663a890af509ef665ee4674a742f8e9a22 (patch) | |
| tree | 97675bdbee78cd7c30222164ed7c4b340a2d4cbf /src/code | |
| parent | b82f54bb957ffdeda4105fe0b81e3923e107b291 (diff) | |
Fixup printf args fake matches (#2049)
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/game.c | 2 | ||||
| -rw-r--r-- | src/code/z_map_exp.c | 2 | ||||
| -rw-r--r-- | src/code/z_skin_matrix.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/code/game.c b/src/code/game.c index ec67cde03..7a247dafe 100644 --- a/src/code/game.c +++ b/src/code/game.c @@ -341,7 +341,7 @@ void GameState_Update(GameState* gameState) { void GameState_InitArena(GameState* gameState, size_t size) { void* arena; - PRINTF("ハイラル確保 サイズ=%u バイト\n"); // "Hyrule reserved size = %u bytes" + PRINTF("ハイラル確保 サイズ=%u バイト\n", size); // "Hyrule reserved size = %u bytes" arena = GAME_ALLOC_MALLOC(&gameState->alloc, size, "../game.c", 992); if (arena != NULL) { diff --git a/src/code/z_map_exp.c b/src/code/z_map_exp.c index a4eb9d520..4360f92fd 100644 --- a/src/code/z_map_exp.c +++ b/src/code/z_map_exp.c @@ -235,7 +235,7 @@ void Map_Init(PlayState* play) { interfaceCtx->mapSegment = GAME_STATE_ALLOC(&play->state, 0x1000, "../z_map_exp.c", 457); // "MAP texture initialization scene_data_ID=%d mapSegment=%x" PRINTF("\n\n\nMAP テクスチャ初期化 scene_data_ID=%d\nmapSegment=%x\n\n", play->sceneId, - interfaceCtx->mapSegment, play); + interfaceCtx->mapSegment); ASSERT(interfaceCtx->mapSegment != NULL, "parameter->mapSegment != NULL", "../z_map_exp.c", 459); switch (play->sceneId) { diff --git a/src/code/z_skin_matrix.c b/src/code/z_skin_matrix.c index 46d2fbe4c..98f8fc4d2 100644 --- a/src/code/z_skin_matrix.c +++ b/src/code/z_skin_matrix.c @@ -589,7 +589,7 @@ Mtx* SkinMatrix_MtxFToNewMtx(GraphicsContext* gfxCtx, MtxF* src) { Mtx* mtx = GRAPH_ALLOC(gfxCtx, sizeof(Mtx)); if (mtx == NULL) { - PRINTF("Skin_Matrix_to_Mtx_new() 確保失敗:NULLを返して終了\n", mtx); + PRINTF("Skin_Matrix_to_Mtx_new() 確保失敗:NULLを返して終了\n"); return NULL; } SkinMatrix_MtxFToMtx(src, mtx); |
