mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- Fixed: The initial play of a GME song always started track 0.
SVN r1655 (trunk)
This commit is contained in:
parent
39455bd80f
commit
64b7468bf4
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
June 8, 2009
|
June 8, 2009
|
||||||
|
- Fixed: The initial play of a GME song always started track 0.
|
||||||
- Fixed: The RAWINPUT buffer that GetRawInputData() fills in is 40 bytes on
|
- Fixed: The RAWINPUT buffer that GetRawInputData() fills in is 40 bytes on
|
||||||
Win32 but 48 bytes on Win64, so Raw Mouse on x64 builds was getting random
|
Win32 but 48 bytes on Win64, so Raw Mouse on x64 builds was getting random
|
||||||
data off the stack because I also interpreted the error return incorrectly.
|
data off the stack because I also interpreted the error return incorrectly.
|
||||||
|
|
|
@ -201,7 +201,7 @@ void GMESong::Play(bool looping, int track)
|
||||||
{
|
{
|
||||||
m_Status = STATE_Stopped;
|
m_Status = STATE_Stopped;
|
||||||
m_Looping = looping;
|
m_Looping = looping;
|
||||||
if (StartTrack(0) && m_Stream->Play(looping, 1))
|
if (StartTrack(track) && m_Stream->Play(looping, 1))
|
||||||
{
|
{
|
||||||
m_Status = STATE_Playing;
|
m_Status = STATE_Playing;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue