diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-02-07 13:37:10 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-02-07 13:37:10 +0100 |
| commit | 582eeb48091e7a4e2e8f93c8131e74d1bb3d0c5d (patch) | |
| tree | 30ca7fe7ef0ae85fa497e61b32bcb5937bd6ffc7 /lib/nes/sys/ppu.hh | |
| parent | 95a039c8d1f926365c8bf3c20b09ec6250e60d8a (diff) | |
fix compilation errors/warnings
Diffstat (limited to 'lib/nes/sys/ppu.hh')
| -rw-r--r-- | lib/nes/sys/ppu.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/nes/sys/ppu.hh b/lib/nes/sys/ppu.hh index 898ddd3..d82056e 100644 --- a/lib/nes/sys/ppu.hh +++ b/lib/nes/sys/ppu.hh @@ -217,10 +217,10 @@ namespace nes::sys tile_row next_background_{}; struct { - tile tile{ 0 }; - palette palette{ 0 }; - u8 bitplane_0{ 0 }; - u8 bitplane_1{ 0 }; + tile background_tile{ 0 }; + palette background_palette{ 0 }; + u8 pattern_bitplane_0{ 0 }; + u8 pattern_bitplane_1{ 0 }; } fetch_cycle_{}; // Data populated during the fetch cycle. evaluated_sprite sprites_[8]{}; // Evaluated sprites. u32 sprite_count_{ 0 }; // Number of evaluated sprites in sprites_. @@ -284,4 +284,4 @@ namespace nes::sys auto ref_color(color_index) -> color&; auto resolve_color(color) const -> rgb; }; -} // namespace nes::sys
\ No newline at end of file +} // namespace nes::sys |
