aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lastexpress/game/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp
index 5cfe99035e..d5e1118105 100644
--- a/engines/lastexpress/game/sound.cpp
+++ b/engines/lastexpress/game/sound.cpp
@@ -367,7 +367,8 @@ bool SoundManager::setupCache(SoundEntry *entry) {
setInCache(cacheEntry);
// TODO: Wait until the cache entry is ready to be removed
- while (!(cacheEntry->status.status1 & 1));
+ while (!(cacheEntry->status.status1 & 1))
+ ;
if (cacheEntry->soundData)
removeFromCache(cacheEntry);