refactor: Avoid exposing various internal types

Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
Kai Krakow
2018-10-08 21:45:23 +02:00
parent 92967b135b
commit b9c9a5f120
2 changed files with 15 additions and 1 deletions

View File

@@ -718,6 +718,11 @@ GameModeContext *game_mode_context_instance()
return &instance;
}
GameModeConfig *game_mode_config_from_context(const GameModeContext *context)
{
return context ? context->config : NULL;
}
/**
* Attempt to resolve the exe for wine-preloader.
* This function is used if game_mode_context_find_exe() identified the