hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.

- Fixes audio issues with Pokemon: Let's Go Pikachu & Eevee.
This commit is contained in:
bunnei 2018-11-16 22:54:38 -05:00
parent 3c7ba00d73
commit 585e6fd426

View file

@ -77,8 +77,8 @@ private:
IPC::ResponseBuilder rb{ctx, 6}; IPC::ResponseBuilder rb{ctx, 6};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.Push<u32>(consumed); rb.Push<u32>(consumed);
rb.Push<u64>(performance);
rb.Push<u32>(sample_count); rb.Push<u32>(sample_count);
rb.Push<u64>(performance);
ctx.WriteBuffer(samples.data(), samples.size() * sizeof(s16)); ctx.WriteBuffer(samples.data(), samples.size() * sizeof(s16));
} }