lioncache changes
This commit is contained in:
@@ -323,8 +323,8 @@ void AudRenU::GetAudioDevice(Kernel::HLERequestContext& ctx) {
|
||||
NGLOG_DEBUG(Service_Audio, "called");
|
||||
}
|
||||
|
||||
bool AudRenU::IsFeatureSupported(AudioFeatures feature, u32_le Revision) {
|
||||
u32_be version_num = (Revision - 0x30564552); // Byte swap
|
||||
const bool AudRenU::IsFeatureSupported(AudioFeatures feature, u32_le revision) {
|
||||
u32_be version_num = (revision - Common::MakeMagic('R', 'E', 'V', '0')); // Byte swap
|
||||
switch (feature) {
|
||||
case AudioFeatures::Splitter:
|
||||
return version_num >= 2;
|
||||
|
||||
@@ -45,7 +45,7 @@ private:
|
||||
Splitter,
|
||||
};
|
||||
|
||||
bool IsFeatureSupported(AudioFeatures feature, u32_le Revision);
|
||||
const bool IsFeatureSupported(AudioFeatures feature, u32_le revision);
|
||||
};
|
||||
|
||||
} // namespace Service::Audio
|
||||
|
||||
Reference in New Issue
Block a user