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 |
{ |
{ |
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 |