// This is a simple fix for Metroid Prime Remastered as it can throw the emulator both a v1 and v2 parameter. I wasn't sure a proper way to use this so did a simple heuristic check.
// This should mostly work as since the binary data is misaligned state and channel_count should almost always be a corrupted value
LOG_ERROR(Service_Audio,"Biquad filter parameter is null");
return;
constvoid*raw_data=effect_info.GetParameter();
if(!raw_data){
LOG_ERROR(Service_Audio,"Biquad filter parameter is null");
return;
}
// This is a simple fix for Metroid Prime Remastered as it can throw the emulator both a v1 and v2 parameter. I wasn't sure a proper way to use this so did a simple heuristic check.
// This should mostly work as since the binary data is misaligned state and channel_count should almost always be a corrupted value