/[EmuXPortal]/trunk/EmuXPortal/Api/EmuConfig.cs
ViewVC logotype

Diff of /trunk/EmuXPortal/Api/EmuConfig.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23 by william, Wed Apr 4 03:09:19 2012 UTC revision 24 by william, Wed Apr 4 03:10:52 2012 UTC
# Line 104  namespace EmuXPortal.Api Line 104  namespace EmuXPortal.Api
104          #region private class EMUOptions          #region private class EMUOptions
105          private class EMUOptions          private class EMUOptions
106          {          {
107                #region Replaceable Constant Options
108                private const string ROM_FILE = "%ROM_FILE%";
109                private const string ROM_PATH = "%ROM_PATH%";
110                #endregion
111              private Dictionary<string, string> options_dict = new Dictionary<string, string>();              private Dictionary<string, string> options_dict = new Dictionary<string, string>();
112              public EMUOptions(IRomConfig config)              public EMUOptions(IRomConfig config)
113              {              {
# Line 115  namespace EmuXPortal.Api Line 119  namespace EmuXPortal.Api
119              }              }
120              private void init_dict(IRomConfig config)              private void init_dict(IRomConfig config)
121              {              {
122                  options_dict.Add("%ROM_FILE%", config.RomFile);                  options_dict.Add(ROM_FILE, config.RomFile);
123                  options_dict.Add("%ROM_PATH%", config.Config.EmuRomPath);                  options_dict.Add(ROM_PATH, config.Config.EmuRomPath);
124              }              }
             public const string ROM_FILE = "%ROM_FILE%";  
125              public string Options { get; set; }              public string Options { get; set; }
126          }          }
127          #endregion          #endregion

Legend:
Removed from v.23  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.22