mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-27 21:51:00 +00:00
- fixed: StreamSong::SetPosition required a NULL pointer check.
SVN r791 (trunk)
This commit is contained in:
parent
4576022c8d
commit
1e418576da
2 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
March 9, 2008 (Changes by Graf Zahl)
|
March 9, 2008 (Changes by Graf Zahl)
|
||||||
|
- fixed: StreamSong::SetPosition required a NULL pointer check.
|
||||||
- fixed: The release build still linked to the old FMOD version.
|
- fixed: The release build still linked to the old FMOD version.
|
||||||
- fixed: SPCSong only works for Win32 so its definition must be excluded for Linux.
|
- fixed: SPCSong only works for Win32 so its definition must be excluded for Linux.
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,13 @@ bool StreamSong::IsPlaying ()
|
||||||
// for anything else.
|
// for anything else.
|
||||||
|
|
||||||
bool StreamSong::SetPosition(int order)
|
bool StreamSong::SetPosition(int order)
|
||||||
|
{
|
||||||
|
if (m_Stream != NULL)
|
||||||
{
|
{
|
||||||
return m_Stream->SetPosition(order);
|
return m_Stream->SetPosition(order);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue