In 2.53 beta 52
i used this fonction void SetDMapEnhancedMusic(int dmap, int filename[], int track);
for change the dmap EnhancedMusic but after change the music restart each time when I change screen. Why ? normal the music continue when change screen and stop just when change dmap
I just want change the dmap music not just for the current screen, but for the dmap as long my condition to return to normal was done. after i will reset to the old music.
code
.....
int Music[255] = "16 Light Side Field.spc";
int Music2[255] = "123 Save Them!.spc";
int MusicCheck[255]= "";
Game->GetDMapMusicFilename(49, MusicCheck);
......
if(strcmp(MusicCheck, Music) == 0){
Game->PlayEnhancedMusic(Music2, 0);
Game->SetDMapEnhancedMusic(49, Music2, 0);
Game->GetDMapMusicFilename(49, MusicCheck);
}