CD-DA BGM playback support with SDL_mixer

This adds -playlist command line option to specify a "playlist" file
which lists music files to be played instead of CD audio tracks.
The format of playlist file is the same as xsystem35's.
This commit is contained in:
kichikuou
2020-02-15 17:27:37 +09:00
parent 51b65c84af
commit 487bd49745
7 changed files with 72 additions and 96 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
#include <emscripten.h>
#include "mako.h"
MAKO::MAKO(NACT* parent)
MAKO::MAKO(NACT* parent, const char* playlist)
: current_music(0)
, next_loop(0)
{