diff --git a/Machines/Commodore/Vic-20/Vic20.cpp b/Machines/Commodore/Vic-20/Vic20.cpp index dcd200cba..e05711ed0 100644 --- a/Machines/Commodore/Vic-20/Vic20.cpp +++ b/Machines/Commodore/Vic-20/Vic20.cpp @@ -491,13 +491,13 @@ class ConcreteMachine: // also push memory resources into the 6560 video memory map; the 6560 has only a // 14-bit address bus and the top bit is invested and used as bit 15 for the main // memory bus. It can access only internal memory, so the first 1kb, then the 4kb from 0x1000. - struct range { + struct Range { const std::size_t start, end; - range(std::size_t start, std::size_t end) : start(start), end(end) {} + Range(std::size_t start, std::size_t end) : start(start), end(end) {} }; - const std::array video_ranges = {{ - range(0x0000, 0x0400), - range(0x1000, 0x2000), + const std::array video_ranges = {{ + Range(0x0000, 0x0400), + Range(0x1000, 0x2000), }}; for(auto &video_range : video_ranges) { for(auto addr = video_range.start; addr < video_range.end; addr += 0x400) {