diff --git a/src/xenia/apu/audio_system.cc b/src/xenia/apu/audio_system.cc index a683da636..8949173f9 100644 --- a/src/xenia/apu/audio_system.cc +++ b/src/xenia/apu/audio_system.cc @@ -90,7 +90,7 @@ X_STATUS AudioSystem::Setup() { registers_.next_context = 1; // Setup worker thread state. This lets us make calls into guest code. - thread_state_ = new ThreadState(emulator_->processor(), 0, 0, 16 * 1024, 0); + thread_state_ = new ThreadState(emulator_->processor(), 0, 0, 128 * 1024, 0); thread_state_->set_name("Audio Worker"); thread_block_ = memory()->SystemHeapAlloc(2048); thread_state_->context()->r[13] = thread_block_; @@ -185,8 +185,6 @@ uint32_t AudioSystem::AllocateXmaContext() { xma_context_free_list_.pop_back(); auto context_ptr = memory()->TranslateVirtual(guest_ptr); - // Initialize? - return guest_ptr; } diff --git a/src/xenia/cpu/processor.cc b/src/xenia/cpu/processor.cc index 6a7e0ef0a..d811e2f07 100644 --- a/src/xenia/cpu/processor.cc +++ b/src/xenia/cpu/processor.cc @@ -148,7 +148,7 @@ bool Processor::Setup() { backend_ = std::move(backend); frontend_ = std::move(frontend); - interrupt_thread_state_ = new ThreadState(this, 0, 0, 16 * 1024, 0); + interrupt_thread_state_ = new ThreadState(this, 0, 0, 128 * 1024, 0); interrupt_thread_state_->set_name("Interrupt"); interrupt_thread_block_ = memory_->SystemHeapAlloc(2048); interrupt_thread_state_->context()->r[13] = interrupt_thread_block_;