aboutsummaryrefslogtreecommitdiff
path: root/src/ppusim/work.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppusim/work.h')
-rw-r--r--src/ppusim/work.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ppusim/work.h b/src/ppusim/work.h
new file mode 100644
index 0000000..1171a22
--- /dev/null
+++ b/src/ppusim/work.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <SDL2/SDL.h>
+
+#include "ppu/consts.h"
+
+typedef uint8_t hh_s_ppusim_color[3];
+typedef hh_s_ppusim_color hh_s_ppusim_scanline[HH_PPU_SCREEN_WIDTH];
+typedef hh_s_ppusim_scanline hh_s_ppusim_screen[HH_PPU_SCREEN_HEIGHT];
+
+void* hh_ppusim_draw_scanline(void*);
+
+void hh_ppusim_draw_frame(SDL_Renderer*);
+