aboutsummaryrefslogtreecommitdiff
path: root/src/ppusim/work.h
blob: 1171a22dbf9d61195189e397bd794b6760ef9a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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*);