aboutsummaryrefslogtreecommitdiff
path: root/src/NDS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NDS.cpp')
-rw-r--r--src/NDS.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp
index e37a194..7bf94f8 100644
--- a/src/NDS.cpp
+++ b/src/NDS.cpp
@@ -674,10 +674,10 @@ void Reset()
degradeAudio = false;
}
- int bitrate = Platform::GetConfigInt(Platform::AudioBitrate);
- if (bitrate == 1) // Always 10-bit
+ int bitDepth = Platform::GetConfigInt(Platform::AudioBitDepth);
+ if (bitDepth == 1) // Always 10-bit
degradeAudio = true;
- else if (bitrate == 2) // Always 16-bit
+ else if (bitDepth == 2) // Always 16-bit
degradeAudio = false;
SPU::SetDegrade10Bit(degradeAudio);