diff gen_player.h @ 1967:bd70f1e15684

Make netplay remote sync to network rather than audio or video so it doesn't drift out of sync with the host
author Michael Pavone <pavone@retrodev.com>
date Fri, 08 May 2020 00:22:54 -0700
parents c36102d09351
children a042e046f7f2
line wrap: on
line diff
--- a/gen_player.h	Mon May 04 23:58:37 2020 -0700
+++ b/gen_player.h	Fri May 08 00:22:54 2020 -0700
@@ -1,6 +1,7 @@
 #ifndef GEN_PLAYER_H_
 #define GEN_PLAYER_H_
 
+#include "render.h"
 #include "system.h"
 #include "vdp.h"
 #include "psg.h"
@@ -13,6 +14,7 @@
 	vdp_context     *vdp;
 	ym2612_context  *ym;
 	psg_context     *psg;
+	render_thread   thread;
 	event_reader    reader;
 } gen_player;