mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-26 00:31:44 +00:00
Bugfix Mockingboard volume getting improperly reset
This commit is contained in:
parent
c5298eb6f0
commit
ac151ae9e9
3
src/vm.c
3
src/vm.c
@ -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] =
|
||||||
|
Loading…
Reference in New Issue
Block a user