From 59b092914fcf3c33a783a2813ebe268586609ff9 Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Tue, 1 Apr 2025 00:06:02 +0200 Subject: before add scroll_latch --- mknes.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'mknes.h') diff --git a/mknes.h b/mknes.h index 8fc6872..afd0369 100644 --- a/mknes.h +++ b/mknes.h @@ -52,17 +52,15 @@ struct ppu_state { uint32_t nt_y_offset; uint8_t fine_y; - uint8_t tmp_fine_x; - uint8_t tmp_coarse_x; - uint8_t tmp_fine_y; - uint8_t tmp_coarse_y; - uint32_t tmp_nt_x; - uint32_t tmp_nt_y; - uint32_t tmp_addr; - uint32_t vram_addr; uint8_t write_latch; + 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; uint32_t dot; -- cgit v1.2.3