summaryrefslogtreecommitdiff
path: root/jag_video.c
diff options
context:
space:
mode:
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;
+}