diff --git a/src/xenia/kernel/xthread.cc b/src/xenia/kernel/xthread.cc index 130f4f06a..dbcd6ccd9 100644 --- a/src/xenia/kernel/xthread.cc +++ b/src/xenia/kernel/xthread.cc @@ -268,8 +268,8 @@ bool XThread::AllocateStack(uint32_t size) { stack_limit_ = address + (padding / 2); stack_base_ = stack_limit_ + size; - // Initialize the stack with junk - memory()->Fill(stack_alloc_base_, actual_size, 0xBE); + // Initialize the stack with junk. 0x42 because you know + memory()->Fill(stack_alloc_base_, actual_size, 0x42); // Setup the guard pages heap->Protect(stack_alloc_base_, padding / 2, kMemoryProtectNoAccess);