Fixes for aap review (audio8)

This commit is contained in:
Filip Gawin
2019-10-25 18:39:26 +02:00
parent fef3b5f978
commit 8808e6fdfe
11 changed files with 1247 additions and 2322 deletions

File diff suppressed because it is too large Load Diff

View File

@ -64,11 +64,14 @@ cMusicManager::DisplayRadioStationName()
if(SampleManager.IsMP3RadioChannelAvailable()) {
gStreamedSound = MusicManager.m_nCurrentStreamedSound;
if(gStreamedSound != STREAMED_SOUND_CITY_AMBIENT &&
gStreamedSound != STREAMED_SOUND_WATER_AMBIENT) {
if(gStreamedSound > STREAMED_SOUND_RADIO_MP3_PLAYER) return;
} else {
if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
gStreamedSound = STREAMED_SOUND_RADIO_POLICE;
} else {
if(gStreamedSound >
STREAMED_SOUND_RADIO_MP3_PLAYER)
return;
}
pRetune = gNumRetunePresses + gStreamedSound;
@ -242,4 +245,4 @@ void
cMusicManager::Service()
{
EAXJMP(0x57D440);
}
}