From f4295898e04de8ef2878aac1774dc7ccda501317 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 22 Mar 2023 19:58:15 +0100 Subject: load static/tilemap.bin in ppusim --- src/ppu/ppu.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ppu/ppu.h') diff --git a/src/ppu/ppu.h b/src/ppu/ppu.h index 75d97c1..46b58af 100644 --- a/src/ppu/ppu.h +++ b/src/ppu/ppu.h @@ -23,3 +23,6 @@ void hh_ppu_update_palette_table(hh_ppu_loc_palette_table_t table); void hh_ppu_update_palette(unsigned palette_index, hh_ppu_loc_palette_data_t palette); /** @brief update single color in palette */ void hh_ppu_update_color(unsigned palette_index, unsigned color_index, hh_ppu_rgb_color_t color); + +/** @brief copy g_hh_tilemap_rom into PPU vram */ +void hh_ppu_load_tilemap(); -- cgit v1.2.3