Fix game.c typo (#2523)

This commit is contained in:
GhostlyDark
2025-05-03 00:01:13 +02:00
committed by GitHub
parent 7cd59fbdad
commit 1bef144995
+1 -1
View File
@@ -472,7 +472,7 @@ void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* g
gameState->running = 1;
startTime = osGetTime();
// Thse assignments must be written this way for matching and to avoid a warning due to casting a pointer to an
// These assignments must be written this way for matching and to avoid a warning due to casting a pointer to an
// integer without a cast. This assigns init = NULL and size = 0.
gameState->size = (u32)(gameState->init = NULL);