Bugfix Mockingboard volume getting improperly reset

This commit is contained in:
Aaron Culliney 2016-01-30 10:26:25 -08:00
parent c5298eb6f0
commit ac151ae9e9

View File

@ -1214,7 +1214,10 @@ void vm_initialize(void) {
void vm_reinitializeAudio(void) { void vm_reinitializeAudio(void) {
#ifdef AUDIO_ENABLED #ifdef AUDIO_ENABLED
speaker_setVolumeZeroToTen(sound_volume); speaker_setVolumeZeroToTen(sound_volume);
#if !MOBILE_DEVICE
#warning TODO FIXME : disentangle Mockingboard volume from speaker volume on Desktop ...
MB_SetVolumeZeroToTen(sound_volume); MB_SetVolumeZeroToTen(sound_volume);
#endif
#endif #endif
for (unsigned int i = 0xC030; i < 0xC040; i++) { for (unsigned int i = 0xC030; i < 0xC040; i++) {
cpu65_vmem_r[i] = cpu65_vmem_w[i] = cpu65_vmem_r[i] = cpu65_vmem_w[i] =