diff options
| -rw-r--r-- | mknes.c | 4 | ||||
| -rw-r--r-- | mknes.h | 9 |
2 files changed, 11 insertions, 2 deletions
@@ -67,8 +67,8 @@ static void init_callback(void) { ppu_reset(&nstate); // ines2_load(&nstate, "data/nrom/Super Mario Bros. (World) (HVC-SM).nes"); // ines2_load(&nstate, "data/nrom/10-Yard Fight (USA, Europe).nes"); - // ines2_load(&nstate, "data/nrom/Balloon Fight (USA).nes"); - ines2_load(&nstate, "data/nrom/Excitebike (Japan, USA).nes"); + ines2_load(&nstate, "data/nrom/Balloon Fight (USA).nes"); + // ines2_load(&nstate, "data/nrom/Excitebike (Japan, USA).nes"); // ines2_load(&nstate, "data/nrom/Ice Climber (USA, Europe, Korea).nes"); // ines2_load(&nstate, "data/nrom/Kung Fu (Japan, USA).nes"); // ines2_load(&nstate, "data/nrom/Super Mario Bros. (World) (HVC-SM).nes"); @@ -51,9 +51,18 @@ struct ppu_state { uint32_t nt_x_offset; uint32_t nt_y_offset; uint8_t fine_y; + uint8_t fine_y_latch; uint32_t vram_addr; + uint32_t tmp_addr; uint8_t write_latch; + uint8_t read_buffer; + + uint32_t render_coarse_x; + uint32_t render_coarse_y; + uint32_t render_fine_y; + uint32_t render_nt_x; + uint32_t render_nt_y; uint32_t cycle; uint32_t scanline; |
