diff options
author | Martin Kiewitz | 2010-05-19 14:19:16 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-19 14:19:16 +0000 |
commit | 9b4f35287027d6c9dafca8f6157fe60c620ee9c4 (patch) | |
tree | 93f6a2e2d4c2915d7d4b4d850881f4f471d07283 /engines/sci/engine | |
parent | bb10dabe904605505ab1dfb2cb46ed61e4d2d67e (diff) | |
download | scummvm-rg350-9b4f35287027d6c9dafca8f6157fe60c620ee9c4.tar.gz scummvm-rg350-9b4f35287027d6c9dafca8f6157fe60c620ee9c4.tar.bz2 scummvm-rg350-9b4f35287027d6c9dafca8f6157fe60c620ee9c4.zip |
SCI: cleanup soundcode - number renamed to resourceId, prio renamed to priority
svn-id: r49098
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index e5e3d8a02f..fef2b9a19e 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -112,8 +112,8 @@ void MusicEntry::saveLoadWithSerializer(Common::Serializer &s) { uint32 handle = 0; s.syncAsSint32LE(handle); soundObj = DEFROBNICATE_HANDLE(handle); - s.syncAsSint32LE(resnum); - s.syncAsSint32LE(prio); + s.syncAsSint32LE(resourceId); + s.syncAsSint32LE(priority); s.syncAsSint32LE(status); s.skip(4); // restoreBehavior uint32 restoreTime = 0; @@ -133,11 +133,11 @@ void MusicEntry::saveLoadWithSerializer(Common::Serializer &s) { } else { // A bit more optimized saving sync_reg_t(s, soundObj); - s.syncAsSint16LE(resnum); + s.syncAsSint16LE(resourceId); s.syncAsSint16LE(dataInc); s.syncAsSint16LE(ticker); s.syncAsSint16LE(signal, VER(17)); - s.syncAsByte(prio); + s.syncAsByte(priority); s.syncAsSint16LE(loop, VER(17)); s.syncAsByte(volume); s.syncAsByte(hold, VER(17)); |