diff jag_video.c @ 1087:6433d4d05934

Added placeholder code for video output hardware/object processor
author Michael Pavone <pavone@retrodev.com>
date Fri, 07 Oct 2016 18:27:38 -0700
parents
children c0a026e974f4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/jag_video.c	Fri Oct 07 18:27:38 2016 -0700
@@ -0,0 +1,13 @@
+#include <stdint.h>
+#include <stdlib.h>
+#include "jag_video.h"
+
+jag_video *jag_video_init(void)
+{
+	return calloc(1, sizeof(jag_video));
+}
+
+void jag_video_run(jag_video *context, uint32_t target_cycle)
+{
+	context->cycles = target_cycle;
+}