| 2541 | } |
| 2542 | } |
| 2543 | void* ContextInitializzation(void* Input) |
| 2544 | { |
| 2545 | int32_t hUser = SteamAPI_GetHSteamUser(); |
| 2546 | SteamContext* Sctx = (SteamContext*)Input; |
| 2547 | if (Sctx->Flag != hUser) // Check if the context isn't already initialized |
| 2548 | { |
| 2549 | Sctx->Flag = hUser; |
| 2550 | ((void(*)(void*))Sctx->InitContext)(&Sctx->Out); |
| 2551 | } |
| 2552 | return (void*)&Sctx->Out; |
| 2553 | } |
| 2554 | bool ReadIni() |
| 2555 | { |
| 2556 | char SteamORG[MAX_PATH] = { 0 }; |
no test coverage detected