1
0
Fork 0

Make value operator== const, add some limit checks in PrintConfigfile and related functions. Unify style a bit more.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4332
This commit is contained in:
Peter Veenstra 2020-02-24 20:00:55 +00:00
parent 6a1a1eff9c
commit 5d654fc5c5
3 changed files with 94 additions and 90 deletions

View file

@ -44,7 +44,7 @@ public:
const char * GetFileName(){ return file_name.c_str();}
bool FindExist(char const * const name,bool remove=false);
bool FindHex(char const * const name,int & value,bool remove=false);
bool FindHex(char const * const name,unsigned int & value,bool remove=false);
bool FindInt(char const * const name,int & value,bool remove=false);
bool FindString(char const * const name,std::string & value,bool remove=false);
bool FindCommand(unsigned int which,std::string & value);