From 9f32fa7f5ba26c39be5016679d936939dfe10ec8 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 12 Feb 2020 23:31:48 -0500 Subject: [PATCH] Resolves potential random RAM writes at startup. --- Machines/Oric/Video.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Machines/Oric/Video.hpp b/Machines/Oric/Video.hpp index fc4c9e046..9d066a808 100644 --- a/Machines/Oric/Video.hpp +++ b/Machines/Oric/Video.hpp @@ -44,8 +44,8 @@ class VideoOutput { int v_sync_start_position_, v_sync_end_position_, counter_period_; // Output target and device. - uint8_t *rgb_pixel_target_; - uint32_t *composite_pixel_target_; + uint8_t *rgb_pixel_target_ = nullptr; + uint32_t *composite_pixel_target_ = nullptr; uint32_t colour_forms_[8]; Outputs::Display::InputDataType data_type_;