From 50b84203c5e81d6e01877776a8c97a65f73a2603 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 17 May 2015 13:47:20 -0700 Subject: [PATCH] Fixing test. --- src/xenia/cpu/frontend/test/xe-cpu-ppc-test.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xenia/cpu/frontend/test/xe-cpu-ppc-test.cc b/src/xenia/cpu/frontend/test/xe-cpu-ppc-test.cc index 26e602e45..63c99ec95 100644 --- a/src/xenia/cpu/frontend/test/xe-cpu-ppc-test.cc +++ b/src/xenia/cpu/frontend/test/xe-cpu-ppc-test.cc @@ -198,8 +198,9 @@ class TestRunner { uint32_t stack_size = 64 * 1024; uint32_t stack_address = START_ADDRESS - stack_size; uint32_t pcr_address = stack_address - 0x1000; - thread_state.reset(new ThreadState(processor.get(), 0x100, stack_address, - stack_size, pcr_address)); + thread_state.reset(new ThreadState(processor.get(), 0x100, + ThreadStackType::kUserStack, + stack_address, stack_size, pcr_address)); return true; }