diff options
author | Colin Snover | 2017-09-06 16:19:48 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-08 16:02:32 -0500 |
commit | 17ff41b7400d5983daf899ead0c2657166d3c84a (patch) | |
tree | 390ae33b3047c399a532869a08f3573496e13c26 /engines | |
parent | 29b338fff76ae72457056fc90d99b80dd6bf99a5 (diff) | |
download | scummvm-rg350-17ff41b7400d5983daf899ead0c2657166d3c84a.tar.gz scummvm-rg350-17ff41b7400d5983daf899ead0c2657166d3c84a.tar.bz2 scummvm-rg350-17ff41b7400d5983daf899ead0c2657166d3c84a.zip |
SCI: Use SCI32 naming convention for Audio36/Sync36 patch files in SCI32
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index e9eaa6761e..9fc9708e74 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -198,7 +198,11 @@ public: Common::String toPatchNameBase36() const { Common::String output; - output += (getType() == kResourceTypeAudio36) ? '@' : '#'; // Identifier + if (getSciVersion() >= SCI_VERSION_2) { + output += (getType() == kResourceTypeAudio36) ? 'A' : 'S'; // Identifier + } else { + output += (getType() == kResourceTypeAudio36) ? '@' : '#'; // Identifier + } output += intToBase36(getNumber(), 3); // Map output += intToBase36(getTuple() >> 24, 2); // Noun output += intToBase36((getTuple() >> 16) & 0xff, 2); // Verb |