fix: HBL crash

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-05-19 05:21:37 +00:00
parent fab192f773
commit 45a9dbc620
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -268,7 +268,7 @@ Result KCapabilities::SetHandleTableCapability(const u32 cap) {
Result KCapabilities::SetDebugFlagsCapability(const u32 cap) {
// Validate.
const DebugFlags pack{cap};
R_UNLESS(pack.reserved == 0, ResultReservedUsed);
//R_UNLESS(pack.reserved == 0, ResultReservedUsed);
DebugFlags debug_capabilities{m_debug_capabilities};
debug_capabilities.allow_debug.Assign(pack.allow_debug);
+1 -1
View File
@@ -115,7 +115,7 @@ void Break(Core::System& system, BreakReason reason, u64 info1, u64 info2) {
const bool should_break = is_hbl || !notification_only;
if (should_break) {
if (should_break && !is_hbl) {
auto* thread = system.Kernel().GetCurrentEmuThread();
if (system.DebuggerEnabled()) {
system.GetDebugger().NotifyThreadStopped(thread);