summaryrefslogtreecommitdiff
path: root/firmware/mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r--firmware/mpeg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index bfcdfc1c0c..a958d56939 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -2157,6 +2157,12 @@ static void init_recording(void)
2157 shadow_7f1 = 0x525; 2157 shadow_7f1 = 0x525;
2158 mas_writemem(MAS_BANK_D0, 0x7f1, &shadow_7f1, 1); 2158 mas_writemem(MAS_BANK_D0, 0x7f1, &shadow_7f1, 1);
2159 2159
2160 /* Wait until the DSP has accepted the settings */
2161 do
2162 {
2163 mas_readmem(MAS_BANK_D0, 0x7f1, &val,1);
2164 } while(val & 1);
2165
2160 drain_dma_buffer(); 2166 drain_dma_buffer();
2161#endif 2167#endif
2162 mpeg_mode = MPEG_ENCODER; 2168 mpeg_mode = MPEG_ENCODER;