mirror of
https://github.com/citron-neo/emulator.git
synced 2026-07-05 15:21:57 -07:00
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user