Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion COPYING.Music
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
LICENSE FOR 'jeu1.xm', 'jeu2.xm' and 'menu.mod' musics in Sounds directory.
LICENSE FOR 'jeu1.xm' and 'jeu2.xm' musics in Sounds directory.

Copyright (c) 2006 - Maf464 - Charcosset B. - charcosset.b@free.fr
site= http://maf464.free.fr

LICENSE FOR 'menu.wav' (Li-Ri main theme) musics in Sounds directory.

Copyright (c) 2026 - ZABIDEN - Mykyta Polishyk - zabidentwfan@ukr.net


GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down
Binary file removed Sounds/menu.mod
Binary file not shown.
Binary file added Sounds/menu.wav
Binary file not shown.
6 changes: 3 additions & 3 deletions src/audio.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ bool Audio::Init()
{
char PathFile[512];

if (Mix_OpenAudio(22050, AUDIO_S16, 1, 1024)) {
if (Mix_OpenAudio(44100, AUDIO_S16, 1, 1024)) {
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Enable to init Sound card: %s", SDL_GetError());
return false;
}
Expand Down Expand Up @@ -103,7 +103,7 @@ bool Audio::Init()
Utils::GetPath(PathFile);
Son[sLive] = Mix_LoadWAV(PathFile);

strcpy(PathFile, "Sounds/menu.mod");
strcpy(PathFile, "Sounds/menu.wav");
Utils::GetPath(PathFile);
Music = Mix_LoadMUS(PathFile);

Expand All @@ -130,7 +130,7 @@ void Audio::LoadMusic(int Num)
}

if (Num == 0) { // Si music du menu
strcpy(Provi, "Sounds/menu.mod");
strcpy(Provi, "Sounds/menu.wav");
Utils::GetPath(Provi);
Music = Mix_LoadMUS(Provi);
}
Expand Down
Loading