mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-06 04:01:44 +00:00
creport: Fix bad constructor for ThreadInfo
This commit is contained in:
parent
71e87e9e35
commit
12236eae9e
1 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,7 @@ class ThreadInfo {
|
||||||
u64 stack_trace[0x20];
|
u64 stack_trace[0x20];
|
||||||
u32 stack_trace_size;
|
u32 stack_trace_size;
|
||||||
public:
|
public:
|
||||||
ThreadInfo() {
|
ThreadInfo() : context{}, thread_id(0), stack_top(0), stack_bottom(0), stack_trace{}, stack_trace_size(0) { }
|
||||||
(*this) = {};
|
|
||||||
}
|
|
||||||
|
|
||||||
u64 GetPC() { return context.pc; }
|
u64 GetPC() { return context.pc; }
|
||||||
u64 GetLR() { return context.lr; }
|
u64 GetLR() { return context.lr; }
|
||||||
|
|
Loading…
Reference in a new issue