Skip to content

Commit

Permalink
do not add w variant
Browse files Browse the repository at this point in the history
  • Loading branch information
rounk-ctrl committed May 5, 2023
1 parent f0bccc2 commit 106f1c8
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 113 deletions.
7 changes: 5 additions & 2 deletions QEMUWF/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ public static void SetStaticControls(TrackBar trackBar, TrackBar trackBar1, Comb
var f = dinfo.GetFiles("qemu-system-*.exe");
ulong h = info.TotalPhysicalMemory / (1024 * 1024);
ulong v = h;

for (int i=0; i<f.Length; i++)
{
comboBox2.Items.Add(f[i].Name.Replace(".exe","").Replace("qemu-system-",""));
string name = f[i].Name.Replace(".exe", "").Replace("qemu-system-", "");
if (name[name.Length - 1] != 'w')
{
comboBox2.Items.Add(f[i].Name.Replace(".exe", "").Replace("qemu-system-", ""));
}
}

foreach (ManagementObject mo in new ManagementObjectSearcher("select AdapterRAM from Win32_VideoController").Get())
Expand Down
221 changes: 111 additions & 110 deletions QEMUWF/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion QEMUWF/Form1.resx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAG
AQAAAk1TRnQBSQFMAwEBAAEQAQABEAEAARABAAEQAQAE/wEFAQAI/wFCAU0BdgcAAXYDAAEoAwABQAMA
AQAAAk1TRnQBSQFMAwEBAAEYAQABGAEAARABAAEQAQAE/wEFAQAI/wFCAU0BdgcAAXYDAAEoAwABQAMA
ARADAAEBAQABBAYAAQIYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAA4ADAAH/AgAB/wMA
Av8BAAH/AwAB/wEAAf8BAAL/AgAD//8A/wADAAFCAU0BPgcAAT4DAAEoAwABQAMAARADAAEBAQABAQUA
AYAXAAP/AQAB/AE/BgAB/AE/BgAB/AE/BgAB/AE/BgAB/AE/BgAB/AE/HgAB/AE/BgAB/AE/BgAB/AE/
Expand Down

0 comments on commit 106f1c8

Please sign in to comment.