Skip to content

Commit 7c21610

Browse files
committed
[XMA] Disable decoding on dedicated thread
1 parent 6ee2e37 commit 7c21610

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xenia/apu/xma_decoder.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ X_STATUS XmaDecoder::Setup(kernel::KernelState* kernel_state) {
142142
assert_not_null(work_event_);
143143
worker_thread_ = kernel::object_ref<kernel::XHostThread>(
144144
new kernel::XHostThread(kernel_state, 128 * 1024, 0, [this]() {
145-
WorkerThreadMain();
145+
//WorkerThreadMain();
146146
return 0;
147147
}));
148148
worker_thread_->set_name("XMA Decoder");
@@ -313,6 +313,7 @@ void XmaDecoder::WriteRegister(uint32_t addr, uint32_t value) {
313313
uint32_t context_id = base_context_id + i;
314314
auto& context = contexts_[context_id];
315315
context.Enable();
316+
context.Work();
316317
}
317318
}
318319
// Signal the decoder thread to start processing.

0 commit comments

Comments
 (0)