Added a single variable in MainForm from which to derive the Emulator Version number. Just call MainForm.EMUVERSION

Only updated the new method for deriving this in MovieHeader, I'm unaware of anywhere else this information is requested as I'm still learning the system.
This commit is contained in:
offspring131313 2011-05-16 02:54:53 +00:00
parent 24a713ee1f
commit 96b80f4789
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ namespace BizHawk.MultiClient
{
public partial class MainForm : Form
{
public const string EMUVERSION = "BizHawk v1.0.0";
private Control renderTarget;
private RetainedViewportPanel retainedPanel;
public string CurrentlyOpenRom;

View File

@ -28,7 +28,7 @@ namespace BizHawk.MultiClient
public MovieHeader() //All required fields will be set to default values
{
HeaderParams.Add(EMULATIONVERSION, "BizHawk v1.0.0");
HeaderParams.Add(EMULATIONVERSION, MainForm.EMUVERSION);//"BizHawk v1.0.0");
HeaderParams.Add(MOVIEVERSION, MovieVersion);
HeaderParams.Add(PLATFORM, "");
HeaderParams.Add(GAMENAME, "");