Compare commits

...

2 Commits

Author SHA1 Message Date
Evan Husted
2aaaa7872f UI: Improve XC2 hack hover tooltip information 2024-12-28 22:28:40 -06:00
Evan Husted
b5999583d6 misc: this is C# XMLdocs not Javadocs 2024-12-28 22:08:37 -06:00
5 changed files with 28 additions and 17 deletions

View File

@@ -2,8 +2,8 @@ namespace Ryujinx.Graphics.Nvdec.Vp9
{ {
internal enum BitDepth internal enum BitDepth
{ {
Bits8 = 8, /**< 8 bits */ Bits8 = 8, // < 8 bits
Bits10 = 10, /**< 10 bits */ Bits10 = 10, // < 10 bits
Bits12 = 12, /**< 12 bits */ Bits12 = 12, // < 12 bits
} }
} }

View File

@@ -189,9 +189,9 @@ namespace Ryujinx.HLE
/// </summary> /// </summary>
public Action RefreshInputConfig { internal get; set; } public Action RefreshInputConfig { internal get; set; }
/** /// <summary>
* The desired hacky workarounds. /// The desired hacky workarounds.
*/ /// </summary>
public DirtyHacks Hacks { internal get; set; } public DirtyHacks Hacks { internal get; set; }
public HLEConfiguration(VirtualFileSystem virtualFileSystem, public HLEConfiguration(VirtualFileSystem virtualFileSystem,

View File

@@ -430,14 +430,14 @@ namespace Ryujinx.UI.Common.Configuration
/// </summary> /// </summary>
public bool UseHypervisor { get; set; } public bool UseHypervisor { get; set; }
/** /// <summary>
* Show toggles for dirty hacks in the UI. /// Show toggles for dirty hacks in the UI.
*/ /// </summary>
public bool ShowDirtyHacks { get; set; } public bool ShowDirtyHacks { get; set; }
/** /// <summary>
* The packed value of the enabled dirty hacks. /// The packed value of the enabled dirty hacks.
*/ /// </summary>
public int EnabledDirtyHacks { get; set; } public int EnabledDirtyHacks { get; set; }
/// <summary> /// <summary>

View File

@@ -696,9 +696,9 @@ namespace Ryujinx.UI.Common.Configuration
/// </summary> /// </summary>
public MultiplayerSection Multiplayer { get; private set; } public MultiplayerSection Multiplayer { get; private set; }
/** /// <summary>
* The Dirty Hacks section /// The Dirty Hacks section
*/ /// </summary>
public HacksSection Hacks { get; private set; } public HacksSection Hacks { get; private set; }
/// <summary> /// <summary>

View File

@@ -1,6 +1,7 @@
using Avalonia.Collections; using Avalonia.Collections;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Threading; using Avalonia.Threading;
using Gommon;
using LibHac.Tools.FsSystem; using LibHac.Tools.FsSystem;
using Ryujinx.Audio.Backends.OpenAL; using Ryujinx.Audio.Backends.OpenAL;
using Ryujinx.Audio.Backends.SDL2; using Ryujinx.Audio.Backends.SDL2;
@@ -796,7 +797,17 @@ namespace Ryujinx.Ava.UI.ViewModels
CloseWindow?.Invoke(); CloseWindow?.Invoke();
} }
public static string Xc2MenuFixTooltip => public static string Xc2MenuFixTooltip { get; } = Lambda.String(sb =>
"From the issue on GitHub:\n\nWhen clicking very fast from game main menu to 2nd submenu, there is a low chance that the game will softlock, the submenu won't show up, while background music is still there."; {
sb.AppendLine(
"This fix applies a 2ms delay (via 'Thread.Sleep(2)') every time the game tries to read data from the emulated Switch filesystem.")
.AppendLine();
sb.AppendLine("From the issue on GitHub:").AppendLine();
sb.Append(
"When clicking very fast from game main menu to 2nd submenu, " +
"there is a low chance that the game will softlock, " +
"the submenu won't show up, while background music is still there.");
});
} }
} }