[client] fixed incorrect kick timing

This commit is contained in:
Geoffrey McRae committed 2017-12-12 03:59:56 +11:00
1 parent 14efdf7314
commit 62ab543720
1 file changed
+2 -1
+2 -1
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;
}