MusicMod: Stop function

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1787 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-01-05 04:08:18 +00:00
parent 906c8a5a63
commit b5ee01ea60
8 changed files with 129 additions and 87 deletions

View File

@ -87,6 +87,18 @@ void Player_Play(char * FileName)
GlobalPause = false;
}
void Player_Stop()
{
Playback::Stop();
//wprintf("Stop\n");
playlist->RemoveAll();
CurrentlyPlayingFile = "";
GlobalPause = false;
}
void Player_Pause()
{
if (!GlobalPause)
@ -146,7 +158,7 @@ void Player_Volume(int a)
void ShowConsole()
{
StartConsoleWin(100, 2000, "MusicMod"); // give room for 2000 rows
//StartConsoleWin(100, 2000, "MusicMod"); // give room for 2000 rows
}