diff --git a/src/xenia/kernel/xthread.cc b/src/xenia/kernel/xthread.cc index 6918b321a..593096c23 100644 --- a/src/xenia/kernel/xthread.cc +++ b/src/xenia/kernel/xthread.cc @@ -241,7 +241,7 @@ bool XThread::AllocateStack(uint32_t size) { stack_base_ = stack_limit_ + size; // Initialize the stack with junk - memory()->Fill(stack_alloc_base_, actual_size, 0xBE); + memory()->Fill(stack_alloc_base_, actual_size, 0x00); // Setup the guard pages heap->Protect(stack_alloc_base_, padding / 2, kMemoryProtectNoAccess);