aboutsummaryrefslogtreecommitdiff
path: root/src/ppu/ppu.h
blob: ac01ef746c9f3c28a689d850dc73a63189f83c98 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "types.h"

void hh_ppu_vblank_interrupt();
void hh_ppu_init();

void hh_ppu_update_foreground(unsigned index, hh_s_ppu_loc_fam_entry e);
void hh_ppu_update_background(unsigned index, hh_s_ppu_loc_bam_entry e);
void hh_ppu_update_sprite(unsigned tilemap_index, hh_s_ppu_loc_sprite sprite);
void hh_ppu_update_aux(hh_s_ppu_loc_aux aux);