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