From 89a9e72a790351999121105de81a7d1ac5310bd8 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Mon, 25 Jan 2010 09:37:59 +0000 Subject: [PATCH] Add drivepath mock --- mocks/Prefs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mocks/Prefs.h b/mocks/Prefs.h index 185d1ce..7800515 100644 --- a/mocks/Prefs.h +++ b/mocks/Prefs.h @@ -39,8 +39,11 @@ public: this->ShowLEDs = 0; this->DisplayOption = 0; this->MsPerFrame = SPEED_100; + memset(this->DrivePath, 0, sizeof(this->DrivePath)); } + char DrivePath[4][256]; // Path for drive 8..11 + char NetworkName[32]; char NetworkServer[128]; int NetworkPort;