mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-05 11:59:15 +00:00
Remove Cheat Manager from Actions entirely
This commit is contained in:
@@ -1886,24 +1886,6 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||||||
Title = RyujinxApp.FormatTitle();
|
Title = RyujinxApp.FormatTitle();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task OpenCheatManagerForCurrentApp()
|
|
||||||
{
|
|
||||||
if (IsGameRunning)
|
|
||||||
{
|
|
||||||
string name = AppHost.Device.Processes.ActiveApplication.ApplicationControlProperties.Title[(int)AppHost.Device.System.State.DesiredTitleLanguage].NameString.ToString();
|
|
||||||
|
|
||||||
await StyleableAppWindow.ShowAsync(
|
|
||||||
new CheatWindow(
|
|
||||||
Window.VirtualFileSystem,
|
|
||||||
AppHost.Device.Processes.ActiveApplication.ProgramIdText,
|
|
||||||
name,
|
|
||||||
SelectedApplication.Path)
|
|
||||||
);
|
|
||||||
|
|
||||||
AppHost.Device.EnableCheats();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public async Task OpenAmiiboWindow()
|
public async Task OpenAmiiboWindow()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -207,12 +207,6 @@
|
|||||||
InputGesture="Ctrl + D"
|
InputGesture="Ctrl + D"
|
||||||
IsEnabled="{Binding HasSkylander}" />
|
IsEnabled="{Binding HasSkylander}" />
|
||||||
<Separator IsVisible="{Binding ShowSkylanderActions}"/>
|
<Separator IsVisible="{Binding ShowSkylanderActions}"/>
|
||||||
<MenuItem
|
|
||||||
Command="{Binding OpenCheatManagerForCurrentApp}"
|
|
||||||
Header="{ext:Locale GameListContextMenuManageCheat}"
|
|
||||||
Icon="{ext:Icon fa-solid fa-code}"
|
|
||||||
InputGesture="Ctrl + C"
|
|
||||||
IsEnabled="{Binding IsGameRunning}" />
|
|
||||||
<MenuItem
|
<MenuItem
|
||||||
Command="{Binding SimulateWakeUpMessage}"
|
Command="{Binding SimulateWakeUpMessage}"
|
||||||
Header="{ext:Locale MenuBarOptionsSimulateWakeUpMessage}"
|
Header="{ext:Locale MenuBarOptionsSimulateWakeUpMessage}"
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
<KeyBinding Gesture="Escape" Command="{Binding ExitCurrentState}" />
|
<KeyBinding Gesture="Escape" Command="{Binding ExitCurrentState}" />
|
||||||
<KeyBinding Gesture="Ctrl+A" Command="{Binding OpenAmiiboWindow}" />
|
<KeyBinding Gesture="Ctrl+A" Command="{Binding OpenAmiiboWindow}" />
|
||||||
<KeyBinding Gesture="Ctrl+B" Command="{Binding OpenBinFile}" />
|
<KeyBinding Gesture="Ctrl+B" Command="{Binding OpenBinFile}" />
|
||||||
<KeyBinding Gesture="Ctrl+C" Command="{Binding OpenCheatManagerForCurrentApp}" />
|
|
||||||
<KeyBinding Gesture="Ctrl+R" Command="{Binding RestartEmulation}" />
|
<KeyBinding Gesture="Ctrl+R" Command="{Binding RestartEmulation}" />
|
||||||
<KeyBinding Gesture="Ctrl+Shift+R" Command="{Binding ReloadRenderDocApi}" />
|
<KeyBinding Gesture="Ctrl+Shift+R" Command="{Binding ReloadRenderDocApi}" />
|
||||||
<KeyBinding Gesture="Ctrl+Shift+C" Command="{Binding ToggleCapture}" />
|
<KeyBinding Gesture="Ctrl+Shift+C" Command="{Binding ToggleCapture}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user