diff --git a/Machines/Oric/DiskController.hpp b/Machines/Oric/DiskController.hpp index 6e2b4b0a3..7ffa2614b 100644 --- a/Machines/Oric/DiskController.hpp +++ b/Machines/Oric/DiskController.hpp @@ -45,7 +45,7 @@ class DiskController: public WD::WD1770 { protected: std::array, 4> drives_; - size_t selected_drive_; + size_t selected_drive_ = 0; void select_drive(size_t drive) { if(drive != selected_drive_) { selected_drive_ = drive;