arm: Clean up ARMul_State
Remove unnecessary/unused struct variables.
This commit is contained in:
parent
1a82721ad2
commit
3f00dd9117
5 changed files with 78 additions and 132 deletions
|
@ -50,7 +50,7 @@ static void ResetThread(Thread* t, u32 arg, s32 lowest_priority) {
|
|||
memset(&t->context, 0, sizeof(Core::ThreadContext));
|
||||
|
||||
t->context.cpu_registers[0] = arg;
|
||||
t->context.pc = t->context.reg_15 = t->entry_point;
|
||||
t->context.pc = t->entry_point;
|
||||
t->context.sp = t->stack_top;
|
||||
t->context.cpsr = 0x1F; // Usermode
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue