1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

creport: Fix bad constructor for ThreadInfo

This commit is contained in:
Michael Scire 2018-06-25 20:40:33 -06:00
parent 71e87e9e35
commit 12236eae9e

View file

@ -37,9 +37,7 @@ class ThreadInfo {
u64 stack_trace[0x20];
u32 stack_trace_size;
public:
ThreadInfo() {
(*this) = {};
}
ThreadInfo() : context{}, thread_id(0), stack_top(0), stack_bottom(0), stack_trace{}, stack_trace_size(0) { }
u64 GetPC() { return context.pc; }
u64 GetLR() { return context.lr; }