diff options
Diffstat (limited to 'engines/gob/sound/cdrom.cpp')
-rw-r--r-- | engines/gob/sound/cdrom.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/gob/sound/cdrom.cpp b/engines/gob/sound/cdrom.cpp index eef8025cc2..b68ebd0c5b 100644 --- a/engines/gob/sound/cdrom.cpp +++ b/engines/gob/sound/cdrom.cpp @@ -94,7 +94,8 @@ void CDROM::startTrack(const char *trackName) { stopPlaying(); _curTrackBuffer = matchPtr; - while (getTrackPos() >= 0); + while (getTrackPos() >= 0) + ; uint32 start = READ_LE_UINT32(matchPtr + 12); uint32 end = READ_LE_UINT32(matchPtr + 16); @@ -151,7 +152,8 @@ const char *CDROM::getCurTrack() const { void CDROM::stopPlaying() { stop(); - while (getTrackPos() != -1); + while (getTrackPos() != -1) + ; } void CDROM::stop() { |