diff options
author | UnavailableDev <ggwildplay@gmail.com> | 2023-03-10 14:23:05 +0100 |
---|---|---|
committer | UnavailableDev <ggwildplay@gmail.com> | 2023-03-10 14:26:02 +0100 |
commit | e3e0feb56340a72545b6fd38f22e134cf2e3509a (patch) | |
tree | c9de5ee7959a91848c9d8d064febbdfeeb584bbe /src/ppusim | |
parent | 19737533abb3eeb90c97691618336b5cead14656 (diff) |
fixed code styles
Diffstat (limited to 'src/ppusim')
-rw-r--r-- | src/ppusim/sim.c | 5 | ||||
-rw-r--r-- | src/ppusim/sim.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ppusim/sim.c b/src/ppusim/sim.c index 449b78d..7d56d2d 100644 --- a/src/ppusim/sim.c +++ b/src/ppusim/sim.c @@ -22,6 +22,11 @@ void hh_ppu_init() { g_hh_ppusim_vram = malloc(sizeof(hh_ppu_data_t) * 0xffff); memset(g_hh_ppusim_vram, 0x0000, 0xffff); + hh_ppu_load_tilemap(); +} + +void hh_ppu_load_tilemap() { + } void hh_ppu_deinit() { diff --git a/src/ppusim/sim.h b/src/ppusim/sim.h index 73f4b23..4d1d718 100644 --- a/src/ppusim/sim.h +++ b/src/ppusim/sim.h @@ -4,3 +4,6 @@ #define HH_PPUSIM_UPSCALE_FACTOR 3 /** @brief max framerate for PPUSIM */ #define HH_PPUSIM_FRAMERATE 60 + +/** @brief pump tilemap from rom to ppu ram */ +void hh_ppu_load_tilemap(); //ppu sim? |