diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2010-02-02 10:56:07 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2010-02-02 10:56:07 +0100 |
commit | 5441606eab14754b232772bfd4a41a2ac9d135e9 (patch) | |
tree | b4fa8546b65bc0df1066e4fda94950356b9736d4 /audio.c | |
parent | 00d457612969f64738934b6cda3fe087b2856f4f (diff) |
Handle audio DAC disable
Diffstat (limited to 'audio.c')
-rw-r--r-- | audio.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -132,6 +132,9 @@ static u16 next_sample(void) static s16 next_host_sample(void) { + if (mem[0x3d20] & 0x0002) // audio DAC disable + return 0; + return 0; u32 acc = 0; u32 i; |