mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 13:33:40 +00:00
[client] don't fail on invalid magic at startup
This commit is contained in:
parent
bec4f83778
commit
e5178793b3
@ -1297,7 +1297,7 @@ static int lg_run()
|
||||
if ((status = lgmpClientInit(state.shm.mem, state.shm.size, &state.lgmp)) == LGMP_OK)
|
||||
break;
|
||||
|
||||
if (status == LGMP_ERR_INVALID_SESSION)
|
||||
if (status == LGMP_ERR_INVALID_SESSION || status == LGMP_ERR_INVALID_MAGIC)
|
||||
{
|
||||
SDL_WaitEventTimeout(NULL, 1000);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user