mirror of
https://github.com/polpo/picogus.git
synced 2026-10-25 21:40:16 +00:00
Initialize with set_volume()
Restores volume settings with mode changes and resets.
This commit is contained in:
1 parent
1c939997e9
commit
50d0da2aa3
4 files changed
+5
No files matched your search
@@ -146,6 +146,7 @@ void play_adlib() {
|
||||
puts("starting core 1");
|
||||
// flash_safe_execute_core_init();
|
||||
uint32_t start, end;
|
||||
set_volume(MODE_OPLVOL);
|
||||
|
||||
#if defined(SOUND_SB) || defined(USB_MOUSE) || defined(SOUND_MPU)
|
||||
// Init PIC on this core so it handles timers
|
||||
@@ -183,6 +184,7 @@ void play_adlib() {
|
||||
uint32_t sb_frac = 0;
|
||||
// uint32_t sb_sample_idx = 0x0;
|
||||
uint32_t sb_left = 0;
|
||||
set_volume(MODE_SBVOL);
|
||||
#endif
|
||||
|
||||
uint32_t cd_left = 0;
|
||||
|
||||
Reference in new issue
Block a user