diff --git a/src/xenia/apu/xma_context.cc b/src/xenia/apu/xma_context.cc index 02caa8095..f20aa4361 100644 --- a/src/xenia/apu/xma_context.cc +++ b/src/xenia/apu/xma_context.cc @@ -300,8 +300,6 @@ void XmaContext::DecodePackets(XMA_CONTEXT_DATA* data) { return; } - assert_zero(data->unk_dword_9); - // XAudio Loops // loop_count: // - XAUDIO2_MAX_LOOP_COUNT = 254 diff --git a/src/xenia/apu/xma_context.h b/src/xenia/apu/xma_context.h index f442bf5f1..c1e3e3dfa 100644 --- a/src/xenia/apu/xma_context.h +++ b/src/xenia/apu/xma_context.h @@ -65,12 +65,12 @@ struct XMA_CONTEXT_DATA { uint32_t loop_subframe_end : 3; // +14bit, XMASetLoopData uint32_t loop_subframe_skip : 3; // +17bit, XMASetLoopData might be // subframe_decode_count - uint32_t subframe_decode_count : 4; // +20bit - uint32_t subframe_skip_count : 3; // +24bit - uint32_t sample_rate : 2; // +27bit enum of sample rates - uint32_t is_stereo : 1; // +29bit - uint32_t unk_dword_1_c : 1; // +30bit - uint32_t output_buffer_valid : 1; // +31bit, XMAIsOutputBufferValid + uint32_t subframe_decode_count : 4; // +20bit + uint32_t subframe_skip_count : 3; // +24bit + uint32_t sample_rate : 2; // +27bit enum of sample rates + uint32_t is_stereo : 1; // +29bit + uint32_t unk_dword_1_c : 1; // +30bit + uint32_t output_buffer_valid : 1; // +31bit, XMAIsOutputBufferValid // DWORD 2 uint32_t input_buffer_read_offset : 26; // XMAGetInputBufferReadOffset diff --git a/src/xenia/kernel/xam/apps/xgi_app.cc b/src/xenia/kernel/xam/apps/xgi_app.cc index c65ef9654..c232dacd0 100644 --- a/src/xenia/kernel/xam/apps/xgi_app.cc +++ b/src/xenia/kernel/xam/apps/xgi_app.cc @@ -78,8 +78,8 @@ X_RESULT XgiApp::DispatchMessageSync(uint32_t message, uint32_t buffer_ptr, return X_STATUS_SUCCESS; } case 0x000B0011: { - - } + // TODO(DrChat): Figure out what this is again + } break; case 0x000B0012: { assert_true(buffer_length == 0x14); uint32_t session_ptr = xe::load_and_swap(buffer + 0x0);