pcsx2: replace wxStrtoul by ToUlong method

Close issue #308
This commit is contained in:
Gregory Hainaut 2014-09-27 11:49:44 +02:00
parent c85221c64f
commit 20b9dbadda
1 changed files with 3 additions and 1 deletions

View File

@ -128,7 +128,9 @@ struct Game_Data
// Gets an integer representation of the 'value' for the given key
int getInt(const wxChar* key) const {
return wxStrtoul(getString(key), NULL, 0);
unsigned long val;
getString(key).ToULong(&val);
return val;
}
// Gets a u8 representation of the 'value' for the given key