Header cleanups and prep.

This commit is contained in:
Ben Vanik
2015-05-24 20:11:19 -07:00
parent 8ac1f61c64
commit 1104f8e687
13 changed files with 34 additions and 18 deletions

View File

@@ -9,10 +9,13 @@
#include "xenia/kernel/objects/xthread.h"
#include <gflags/gflags.h>
#include "xenia/base/logging.h"
#include "xenia/base/math.h"
#include "xenia/base/threading.h"
#include "xenia/cpu/cpu.h"
#include "xenia/kernel/kernel_state.h"
#include "xenia/kernel/native_list.h"
#include "xenia/kernel/objects/xevent.h"
#include "xenia/kernel/objects/xuser_module.h"
@@ -153,7 +156,7 @@ X_STATUS XThread::Create() {
// Set native info.
SetNativePointer(thread_state_address_, true);
XUserModule* module = kernel_state()->GetExecutableModule();
auto module = kernel_state()->GetExecutableModule();
// Allocate thread scratch.
// This is used by interrupts/APCs/etc so we can round-trip pointers through.