Mercurial > repos > blastem
comparison rf5c164.c @ 2128:b0dcf5c9f353
Fix some issues with PCM dma/CPU write conflicts
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 13 Mar 2022 11:36:06 -0700 |
parents | 485834c0fea7 |
children | 62a53c052d9b |
comparison
equal
deleted
inserted
replaced
2127:1bf30397dd45 | 2128:b0dcf5c9f353 |
---|---|
145 } | 145 } |
146 write_if_not_sounding(pcm); | 146 write_if_not_sounding(pcm); |
147 CHECK; | 147 CHECK; |
148 case 10: | 148 case 10: |
149 //refresh? | 149 //refresh? |
150 //does refresh happen at the same rate when sounding disabled? warning in sega docs suggests maybe not | |
151 write_if_not_sounding(pcm); | |
150 CHECK; | 152 CHECK; |
151 case 11: | 153 case 11: |
152 write_always(pcm); | 154 write_always(pcm); |
153 pcm->cur_channel++; | 155 pcm->cur_channel++; |
154 pcm->cur_channel &= 7; | 156 pcm->cur_channel &= 7; |