private void playBtn_Click(object sender, EventArgs e) { var title = titleList.SelectedItem as Title; if (title == null) { return; } new Thread(() => { Toolbelt.LaunchCemu(title.MetaLocation, null); }).Start(); }
private static void LaunchCemuButton() { new Thread(() => { if (SelectedItem == null) { Toolbelt.LaunchCemu(string.Empty, null); return; } SelectedItem.PlayTitle(); }).Start(); }
private void playBtn_Click(object sender, EventArgs e) { var title = titleList.SelectedItem as Title; if (title == null) { return; } if (!Toolbelt.LaunchCemu(title.MetaLocation, null)) { return; } TextLog.MesgLog.WriteLog($"Started playing {title.Name}"); }
public void PlayTitle() { if (MetaLocation.IsNullOrEmpty()) { return; } new Thread(() => { if (!Toolbelt.LaunchCemu(MetaLocation, SelectedGraphicPack)) { return; } TextLog.MesgLog.WriteLog($"Now Playing: {Name}"); }).Start(); }
private void LaunchCemuButton() { if (SelectedItem == null) { return; } new Thread(() => { var pack = MainWindowViewModel.Instance.Config.SelectedItemGraphicPack; if (!Toolbelt.LaunchCemu(SelectedItem.MetaLocation, pack)) { return; } TextLog.MesgLog.WriteLog($"Now Playing: {SelectedItem.Name}"); }).Start(); }