mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-10 13:44:13 +00:00
32 bit support
This commit is contained in:
parent
86b692b34a
commit
a3370a99fa
3 changed files with 17 additions and 3 deletions
|
@ -85,6 +85,7 @@ namespace UWUVCI_AIO_WPF
|
|||
}
|
||||
else
|
||||
{
|
||||
MainWindow wnd = new MainWindow();
|
||||
double height = System.Windows.SystemParameters.PrimaryScreenHeight;
|
||||
double witdh = System.Windows.SystemParameters.PrimaryScreenWidth;
|
||||
if (witdh < 1150 || height < 700)
|
||||
|
@ -101,10 +102,11 @@ namespace UWUVCI_AIO_WPF
|
|||
}
|
||||
else
|
||||
{
|
||||
Custom_Message cm = new Custom_Message("Incompatible Operating System", "Your Operating System is not a 64Bit OS.\nThe Injector will run, but most likley many (if not all) features will not work.");
|
||||
wnd.is32();
|
||||
Custom_Message cm = new Custom_Message("Warning", "Your Operating System is not a 64Bit OS.\nThe Injector will run, but features may be unstable.\nDue to that, WII and GC injections will only work on a 64Bit OS.");
|
||||
cm.ShowDialog();
|
||||
}
|
||||
MainWindow wnd = new MainWindow();
|
||||
|
||||
if (bypass) {
|
||||
wnd.allowBypass();
|
||||
|
||||
|
|
|
@ -1952,7 +1952,9 @@ namespace UWUVCI_AIO_WPF
|
|||
|
||||
public void UpdatePathSet()
|
||||
{
|
||||
|
||||
PathsSet = Settings.Default.PathsSet;
|
||||
|
||||
if(BaseStore != Settings.Default.BasePath)
|
||||
{
|
||||
BaseStore = Settings.Default.BasePath;
|
||||
|
@ -3736,7 +3738,8 @@ namespace UWUVCI_AIO_WPF
|
|||
AudioFileReader audioFileReader;
|
||||
public System.Timers.Timer t;
|
||||
public bool passtrough = true;
|
||||
|
||||
internal bool enableWii = true;
|
||||
internal bool backupenableWii = true;
|
||||
public void PlaySound()
|
||||
{
|
||||
|
||||
|
|
|
@ -89,6 +89,15 @@ namespace UWUVCI_AIO_WPF
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal void is32()
|
||||
{
|
||||
this.Wii.DataContext = this;
|
||||
this.Wii.IsEnabled = false;
|
||||
this.GC.DataContext = this;
|
||||
this.GC.IsEnabled = false;
|
||||
}
|
||||
|
||||
static MemoryStream sound = new MemoryStream(Properties.Resources.mario);
|
||||
private int _match;
|
||||
static MemoryStream ms = new MemoryStream(StreamToBytes(sound));
|
||||
|
|
Loading…
Reference in a new issue