diff --git a/INSTALL b/INSTALL index 4d427526..c78bce08 100644 --- a/INSTALL +++ b/INSTALL @@ -92,14 +92,14 @@ Some of them are: --disable-fpu-x86 --disable-fpu-x64 disables the assembly fpu core. Although relatively new, the x86/x64 - fpu core has more accuracy then the regular fpu core. + fpu core has more accuracy than the regular fpu core. --disable-dynamic-x86 disables the dynamic x86/x64 specific cpu core. Although it might be a bit unstable, it can greatly improve the speed of dosbox on x86 and x64 hosts. Please note that this option on x86/x64 will result in a different - dynamic/recompiling cpu core being compiled then the default. + dynamic/recompiling cpu core being compiled than the default. For more information see the option --disable-dynrec --disable-dynrec diff --git a/include/dos_system.h b/include/dos_system.h index 1c3289b3..9222708e 100644 --- a/include/dos_system.h +++ b/include/dos_system.h @@ -62,7 +62,7 @@ class DOS_DTA; class DOS_File { public: - DOS_File():flags(0) { name=0; refCtr = 0; hdrive=0xff; }; + DOS_File():flags(0),time(0),date(0),attr(0),refCtr(0),open(false),name(0),hdrive(0xff) { }; DOS_File(const DOS_File& orig); DOS_File & operator= (const DOS_File & orig); virtual ~DOS_File(){if(name) delete [] name;}; diff --git a/include/setup.h b/include/setup.h index 27c91776..566c08c4 100644 --- a/include/setup.h +++ b/include/setup.h @@ -76,13 +76,13 @@ public: enum Etype { V_NONE, V_HEX, V_BOOL, V_INT, V_STRING, V_DOUBLE,V_CURRENT} type; /* Constructors */ - Value() :_string(0), type(V_NONE) { }; - Value(Hex in) :_hex(in), type(V_HEX) { }; - Value(int in) :_int(in), type(V_INT) { }; - Value(bool in) :_bool(in), type(V_BOOL) { }; - Value(double in) :_double(in), type(V_DOUBLE) { }; - Value(std::string const& in) :_string(new std::string(in)),type(V_STRING) { }; - Value(char const * const in) :_string(new std::string(in)),type(V_STRING) { }; + Value() :_hex(0), _bool(false),_int(0), _string(0), _double(0), type(V_NONE) { }; + Value(Hex in) :_hex(in),_bool(false),_int(0), _string(0), _double(0), type(V_HEX) { }; + Value(int in) :_hex(0), _bool(false),_int(in),_string(0), _double(0), type(V_INT) { }; + Value(bool in) :_hex(0), _bool(in) ,_int(0), _string(0), _double(0), type(V_BOOL) { }; + Value(double in) :_hex(0), _bool(false),_int(0), _string(0), _double(in),type(V_DOUBLE) { }; + Value(std::string const& in) :_hex(0), _bool(false),_int(0), _string(new std::string(in)),_double(0), type(V_STRING) { }; + Value(char const * const in) :_hex(0), _bool(false),_int(0), _string(new std::string(in)),_double(0), type(V_STRING) { }; Value(Value const& in):_string(0) {plaincopy(in);} ~Value() { destroy();}; Value(std::string const& in,Etype _t) :_hex(0),_bool(false),_int(0),_string(0),_double(0),type(V_NONE) {SetValue(in,_t);}