Compare commits

..

14 commits

Author SHA1 Message Date
Coxxs
1cf36d3283 Merge branch 'gdb-stub' into 'master'
Add GDB Stub

See merge request [ryubing/ryujinx!71](https://git.ryujinx.app/ryubing/ryujinx/-/merge_requests/71)
2025-06-20 21:23:00 -05:00
Coxxs
22957b9140 gdb: Show thread names
Reference: d8a37b4b71/libraries/libstratosphere/source/osdbg/impl/osdbg_thread_type.os.horizon.hpp
2025-06-21 10:22:08 +08:00
Coxxs
db22c3af25 gdb: Set correct gThread and cThread when break 2025-06-21 09:43:26 +08:00
Coxxs
37ba4b8cd3 gdb: Update DebugPc during SVC call and break 2025-06-21 09:37:36 +08:00
Coxxs
0d7abc0c4e gdb: Fix crash when gdb client disconnected in some cases 2025-06-21 05:27:39 +08:00
Coxxs
b6f6f8303f gdb: Add timeout to prevent deadlock in DebugStep
Deadlock can happen when step at some svc instructions.
2025-06-21 05:26:48 +08:00
Coxxs
4ffe38731b gdb: Fix GdbWriteRegister endianness 2025-06-21 05:25:22 +08:00
Coxxs
eb41143988 gdb: Fix crash on stop emulation if gdb stub is enabled with app running 2025-06-21 01:47:19 +08:00
Coxxs
745200373b gdb: Remove unused using 2025-06-21 01:24:06 +08:00
Coxxs
2e18008d4b gdb: Add notice when application is suspended on start 2025-06-21 01:05:43 +08:00
Coxxs
84e078f94c gdb: Wait for the application to start if user connect gdb too early 2025-06-21 01:05:25 +08:00
Coxxs
2c01f30f41 gdb: Fix crash on exit when not using Debugger 2025-06-21 01:04:44 +08:00
Coxxs
c2d84ffdde gdb: Remove redundant log 2025-06-21 00:02:31 +08:00
Coxxs
4a8463c2f7 Add GDB Stub
Author: merry, svc64
2025-06-20 16:17:28 +08:00
2 changed files with 4 additions and 9 deletions

View file

@ -310,15 +310,10 @@ namespace Ryujinx.Ava.UI.ViewModels
private void TotalTimePlayed_Recalculated(Optional<TimeSpan> ts)
{
if (ts.HasValue)
{
var formattedPlayTime = ValueFormatUtils.FormatTimeSpan(ts.Value);
LocaleManager.Instance.SetDynamicValues(LocaleKeys.GameListLabelTotalTimePlayed, formattedPlayTime);
ShowTotalTimePlayed = formattedPlayTime != string.Empty;
return;
}
ShowTotalTimePlayed = ts.HasValue;
if (ts.HasValue)
LocaleManager.Instance.SetDynamicValues(LocaleKeys.GameListLabelTotalTimePlayed, ValueFormatUtils.FormatTimeSpan(ts.Value));
}
public bool ShowTotalTimePlayed
@ -339,6 +334,7 @@ namespace Ryujinx.Ava.UI.ViewModels
_listSelectedApplication = value;
if (_listSelectedApplication != null && ListAppContextMenu == null)
ListAppContextMenu = new ApplicationContextMenu();
else if (_listSelectedApplication == null && ListAppContextMenu != null)
ListAppContextMenu = null!;

View file

@ -64,7 +64,6 @@
MinWidth="200"
Height="6"
VerticalAlignment="Center"
Margin="0, 0, 5, 0"
Foreground="{DynamicResource SystemAccentColorLight2}"
IsVisible="{Binding StatusBarVisible}"
Maximum="{Binding StatusBarProgressMaximum}"