[client] fixed incorrect kick timing

This commit is contained in:
Geoffrey McRae 2017-12-04 00:12:31 +11:00
parent 14efdf7314
commit 62ab543720

View File

@ -216,7 +216,6 @@ int renderThread(void * unused)
break;
memcpy(&newHeader, state.shm, sizeof(struct KVMGFXHeader));
ivshmem_kick_irq(newHeader.guestID, 0);
// ensure the header magic is valid, this will help prevent crash out when the memory hasn't yet been initialized
if (
@ -511,6 +510,8 @@ int renderThread(void * unused)
}
SDL_RenderPresent(state.renderer);
ivshmem_kick_irq(newHeader.guestID, 0);
state.started = true;
}