add GameInfo DB options fetcher for string type

This commit is contained in:
zeromus 2015-07-11 12:39:01 -05:00
parent 0964d75d05
commit a6f37173b0
1 changed files with 5 additions and 0 deletions

View File

@ -101,6 +101,11 @@ namespace BizHawk.Emulation.Common
return int.Parse(Options[option]);
}
public string GetStringValue(string option)
{
return Options[option];
}
public int GetHexValue(string option)
{
return int.Parse(Options[option], NumberStyles.HexNumber);