1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-05-09 18:43:45 +00:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);