diff --git a/Machines/Commodore/Vic-20/Vic20.cpp b/Machines/Commodore/Vic-20/Vic20.cpp index 89c1bb1dc..181eb8cc9 100644 --- a/Machines/Commodore/Vic-20/Vic20.cpp +++ b/Machines/Commodore/Vic-20/Vic20.cpp @@ -233,8 +233,8 @@ class Vic6560BusHandler { } // It is assumed that these pointers have been filled in by the machine. - uint8_t *video_memory_map[16]; // Segments video memory into 1kb portions. - uint8_t *colour_memory; // Colour memory must be contiguous. + uint8_t *video_memory_map[16]{}; // Segments video memory into 1kb portions. + uint8_t *colour_memory{}; // Colour memory must be contiguous. }; /*! diff --git a/Machines/Oric/Oric.cpp b/Machines/Oric/Oric.cpp index 63f574d62..59f0dcdbb 100644 --- a/Machines/Oric/Oric.cpp +++ b/Machines/Oric/Oric.cpp @@ -36,6 +36,7 @@ #include "../../ClockReceiver/JustInTime.hpp" +#include #include #include #include @@ -715,7 +716,7 @@ template rom_, disk_rom_; - uint8_t ram_[65536]; + std::array ram_{}; // ROM bookkeeping uint16_t tape_get_byte_address_ = 0, tape_speed_address_ = 0;