Merge branch 'hle-dsp-v2' of https://github.com/wheremyfoodat/Panda3DS into hle-dsp-v2

This commit is contained in:
wheremyfoodat 2024-04-27 00:40:38 +03:00
commit c817ca5dbb

View file

@ -213,6 +213,7 @@ namespace Audio {
// Generate audio // Generate audio
if (source.enabled && !source.buffers.empty()) { if (source.enabled && !source.buffers.empty()) {
static int aaaa = 0;
const auto& buffer = source.buffers.top(); const auto& buffer = source.buffers.top();
const u8* data = getPointerPhys<u8>(buffer.paddr); const u8* data = getPointerPhys<u8>(buffer.paddr);
@ -220,6 +221,7 @@ namespace Audio {
// TODO // TODO
} }
} }
}
// Update write region of shared memory // Update write region of shared memory
auto& status = write.sourceStatuses.status[i]; auto& status = write.sourceStatuses.status[i];