mirror of
https://github.com/MiSTer-devel/MacPlus_MiSTer.git
synced 2025-02-19 13:30:42 +00:00
Simple fix for audio - when sound output is disabled, drive output high (#12)
instead of to zero
This commit is contained in:
parent
84d86e86b1
commit
440aff18ec
@ -114,7 +114,7 @@ module dataController_top(
|
||||
reg [7:0] audio_latch;
|
||||
always @(posedge clk32) begin
|
||||
if(clk8_en_p && loadSoundD) begin
|
||||
if(snd_ena) audio_latch <= 8'h00;
|
||||
if(snd_ena) audio_latch <= 8'h7f;
// when disabled, drive output high
|
||||
else audio_latch <= memoryDataIn[15:8] - 8'd128;
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user