DSP: Add a comment about physical address masking
See @wwylele's comment on PR 4483 for more details on what causes this behavior.
This commit is contained in:
parent
3aff585f32
commit
008ef1fd71
@ -284,6 +284,8 @@ bool Source::DequeueBuffer() {
|
||||
state.adpcm_state.yn2 = buf.adpcm_yn[1];
|
||||
}
|
||||
|
||||
// This physical address masking occurs due to how the DSP DMA hardware is configured by the
|
||||
// firmware.
|
||||
const u8* const memory = Memory::GetPhysicalPointer(buf.physical_address & 0xFFFFFFFC);
|
||||
if (memory) {
|
||||
const unsigned num_channels = buf.mono_or_stereo == MonoOrStereo::Stereo ? 2 : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user