From 0a9b08fcaf0fde28af66b59a76881032587b582c Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Wed, 6 Dec 2023 15:49:15 -0500 Subject: track executable path --- src/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 96bc0a2..6fab5f4 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -493,7 +493,8 @@ void Game_Tick(double delta) { ECS_Tick_Late(delta); } -void Game_Main(PKEWindowProperties windowProps) { +void Game_Main(PKEWindowProperties windowProps, const char *executablePath) { + pkeSettings.executablePath = executablePath; fprintf(stdout, "Game_Main Entering\n"); try { AM_Init(); -- cgit v1.2.3