mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 02:41:55 +01:00
-fixed not working music playback from the plugin if no wiiflow
music folder with music is present -changed version to beta 4.1.2 (whoops)
This commit is contained in:
parent
6e11e17230
commit
082d0ff8dd
@ -1,5 +1,5 @@
|
||||
#define APP_NAME "WiiFlow"
|
||||
#define APP_VERSION "Beta 4.1.1"
|
||||
#define APP_VERSION "Beta 4.1.2"
|
||||
|
||||
#define APPDATA_DIR "wiiflow"
|
||||
#define APPDATA_DIR2 "apps/wiiflow"
|
||||
|
@ -143,6 +143,13 @@ void Musicplayer::LoadCurrentFile()
|
||||
|
||||
void Musicplayer::LoadFile(const char *name, bool display_change)
|
||||
{
|
||||
if(FileNames.empty())
|
||||
FileNames.push_back(PLUGIN_DOMAIN);
|
||||
else if(FileNames.size() == 1 && strcmp(name, PLUGIN_DOMAIN) == 0)
|
||||
{
|
||||
Cleanup();
|
||||
return;
|
||||
}
|
||||
MusicFile.Load(name);
|
||||
SetVolume(CurrentVolume);
|
||||
MusicFile.Play();
|
||||
|
Loading…
Reference in New Issue
Block a user