mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-23 21:45:44 +01:00
Use a better name than "dont_kill_application"
signal_debugger seems like a more fitting name
This commit is contained in:
parent
a4412c8e22
commit
09b6dda8f0
@ -304,14 +304,14 @@ static ResultCode ArbitrateUnlock(VAddr mutex_addr) {
|
|||||||
struct BreakReason {
|
struct BreakReason {
|
||||||
union {
|
union {
|
||||||
u32 raw;
|
u32 raw;
|
||||||
BitField<31, 1, u32> dont_kill_application;
|
BitField<31, 1, u32> signal_debugger;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Break program execution
|
/// Break program execution
|
||||||
static void Break(u32 reason, u64 info1, u64 info2) {
|
static void Break(u32 reason, u64 info1, u64 info2) {
|
||||||
BreakReason break_reason{reason};
|
BreakReason break_reason{reason};
|
||||||
if (break_reason.dont_kill_application) {
|
if (break_reason.signal_debugger) {
|
||||||
LOG_ERROR(
|
LOG_ERROR(
|
||||||
Debug_Emulated,
|
Debug_Emulated,
|
||||||
"Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",
|
"Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}",
|
||||||
|
Loading…
Reference in New Issue
Block a user