mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-29 01:56:27 +00:00
[client] main: fix spice display fallback when waiting for LGMP upgrade
This commit is contained in:
parent
6cd88a70ad
commit
f0cb9d1167
@ -1441,6 +1441,8 @@ restart:
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LGMP_ERR_INVALID_VERSION:
|
case LGMP_ERR_INVALID_VERSION:
|
||||||
|
{
|
||||||
|
if (waitCount++ == 0)
|
||||||
{
|
{
|
||||||
reportBadVersion();
|
reportBadVersion();
|
||||||
msgs[msgsCount++] = app_msgBox(
|
msgs[msgsCount++] = app_msgBox(
|
||||||
@ -1450,13 +1452,9 @@ restart:
|
|||||||
);
|
);
|
||||||
|
|
||||||
DEBUG_INFO("Waiting for you to upgrade the host application");
|
DEBUG_INFO("Waiting for you to upgrade the host application");
|
||||||
while (g_state.state == APP_STATE_RUNNING &&
|
}
|
||||||
lgmpClientSessionInit(g_state.lgmp, &udataSize, (uint8_t **)&udata) != LGMP_OK)
|
|
||||||
g_state.ds->wait(1000);
|
g_state.ds->wait(1000);
|
||||||
|
|
||||||
if (g_state.state != APP_STATE_RUNNING)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user