From a6f37173b08637b7eeaa90fad7d1c50754451495 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 11 Jul 2015 12:39:01 -0500 Subject: [PATCH] add GameInfo DB options fetcher for string type --- BizHawk.Emulation.Common/Database/GameInfo.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BizHawk.Emulation.Common/Database/GameInfo.cs b/BizHawk.Emulation.Common/Database/GameInfo.cs index 04266c8f14..d46ca2e155 100644 --- a/BizHawk.Emulation.Common/Database/GameInfo.cs +++ b/BizHawk.Emulation.Common/Database/GameInfo.cs @@ -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);