Skip to content

Commit e8b8a8f

Browse files
committed
System: Few fixes
1 parent d8ec8a4 commit e8b8a8f

File tree

5 files changed

+21
-12
lines changed

5 files changed

+21
-12
lines changed

J-Runner/Classes/variables.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ public enum Windows
8080
W10_11
8181
}
8282

83-
public static string version = "3.3.0";
84-
public static string build = "3300." + DateTime.ParseExact(Properties.Resources.Build.Trim(), "MM-dd-yyyy HH:mm:ss", null).ToString("yyMMdd.HHmm");
85-
public const string staticversion = "3.3.0.0";
86-
public static int revision = 35;
83+
public static string version = "3.3.0 r2";
84+
public static string build = "3301." + DateTime.ParseExact(Properties.Resources.Build.Trim(), "MM-dd-yyyy HH:mm:ss", null).ToString("yyMMdd.HHmm");
85+
public const string staticversion = "3.3.0.1";
86+
public static int revision = 36;
8787
public static Windows currentOS = Windows.Unknown;
8888
public static bool isWinXP = false;
8989
public static bool isscanningip = false;

J-Runner/MainForm.cs

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ private void demon_updateFlash(DemoN.Demon_Switch flash)
424424

425425
#region LDrivesPanel
426426

427-
public void ldInfo_CloseLDClick()
427+
public void ldInfo_CloseClick()
428428
{
429429
listInfo.Remove(ldInfo);
430430
pnlInfo.Controls.Remove(ldInfo);
@@ -439,7 +439,7 @@ public void ldInfo_UpdateAdditional(string file)
439439

440440
#endregion
441441

442-
#region xebuild Panel
442+
#region XeBuild Panel
443443

444444
public void xPanel_HackChanged()
445445
{
@@ -513,7 +513,7 @@ public void xsvfChoice_ProgramClick()
513513

514514
}
515515

516-
public void xsvfChoice_CloseCRClick()
516+
public void xsvfChoice_CloseClick()
517517
{
518518
listInfo.Remove(xsvfChoice);
519519
pnlInfo.Controls.Remove(xsvfChoice);
@@ -1836,6 +1836,15 @@ public void newSession(bool partial = false)
18361836
xPanel.clear();
18371837
variables.ctype = variables.ctypes[0];
18381838
txtIP.Text = txtIP.Text.Remove(txtIP.Text.LastIndexOf('.')) + ".";
1839+
1840+
if (listInfo.Contains(xsvfChoice))
1841+
{
1842+
xsvfChoice_CloseClick();
1843+
}
1844+
if (listInfo.Contains(ldInfo))
1845+
{
1846+
ldInfo_CloseClick();
1847+
}
18391848
}
18401849

18411850
progressBar.Value = progressBar.Minimum;
@@ -1908,7 +1917,7 @@ void nandinit(bool nomove = false, bool dontUpdateHackType = false)
19081917
else txtCPUKey.BeginInvoke(new Action(() => txtCPUKey.Text = variables.cpukey));
19091918

19101919
Console.WriteLine("Initializing {0}, please wait...", Path.GetFileName(variables.filename1));
1911-
if (listInfo.Contains(xsvfChoice)) xsvfChoice_CloseCRClick();
1920+
if (listInfo.Contains(xsvfChoice)) xsvfChoice_CloseClick();
19121921
updateProgress(progressBar.Maximum / 2);
19131922
nand = new Nand.PrivateN(variables.filename1, variables.cpukey);
19141923
if (!nand.ok)
@@ -3640,7 +3649,7 @@ public void openXsvfChoice(bool boardcheck = false)
36403649
{
36413650
if (listInfo.Contains(xsvfChoice))
36423651
{
3643-
xsvfChoice_CloseCRClick();
3652+
xsvfChoice_CloseClick();
36443653
}
36453654
else
36463655
{

J-Runner/Panels/LDrivesInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private void btnClose_Click(object sender, EventArgs e)
6060
{
6161
try
6262
{
63-
MainForm.mainForm.ldInfo_CloseLDClick();
63+
MainForm.mainForm.ldInfo_CloseClick();
6464
}
6565
catch (Exception) { }
6666
}

J-Runner/Panels/XSVFChoice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ private void btnClose_Click(object sender, EventArgs e)
545545
{
546546
try
547547
{
548-
MainForm.mainForm.xsvfChoice_CloseCRClick();
548+
MainForm.mainForm.xsvfChoice_CloseClick();
549549
}
550550
catch (Exception) { }
551551
}

J-Runner/Resources/Build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
07-02-2023 22:30:59
1+
10-31-2023 00:42:46

0 commit comments

Comments
 (0)