summaryrefslogtreecommitdiff
path: root/jag_video.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-10-07 18:27:38 -0700
committerMichael Pavone <pavone@retrodev.com>2016-10-07 18:27:38 -0700
commit3bda38c2547f87a25635a886604e8b597bae5491 (patch)
tree90a11eb98ac068c72987468d31ec2dd4b96c7afc /jag_video.c
parentf6eff7d2b0907476b6a47cfe88f896c8dc8f7073 (diff)
Added placeholder code for video output hardware/object processor
Diffstat (limited to 'jag_video.c')
-rw-r--r--jag_video.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/jag_video.c b/jag_video.c
new file mode 100644
index 0000000..fd484b2
--- /dev/null
+++ b/jag_video.c
@@ -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;
+}