diff options
author | Matthew Hoops | 2013-05-02 18:26:58 -0400 |
---|---|---|
committer | Matthew Hoops | 2013-05-02 18:43:10 -0400 |
commit | 0031c41db855ac4bebd05ca1b2c1fa6694242979 (patch) | |
tree | 98f4e4bf20148171c3638476ed7f24a61a7a03c1 /devtools/create_kyradat/extract.cpp | |
parent | 8942a96bafaa8541383347318c19392ce949248a (diff) | |
download | scummvm-rg350-0031c41db855ac4bebd05ca1b2c1fa6694242979.tar.gz scummvm-rg350-0031c41db855ac4bebd05ca1b2c1fa6694242979.tar.bz2 scummvm-rg350-0031c41db855ac4bebd05ca1b2c1fa6694242979.zip |
COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
Diffstat (limited to 'devtools/create_kyradat/extract.cpp')
-rw-r--r-- | devtools/create_kyradat/extract.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/create_kyradat/extract.cpp b/devtools/create_kyradat/extract.cpp index 748bd36248..b2f520d0d3 100644 --- a/devtools/create_kyradat/extract.cpp +++ b/devtools/create_kyradat/extract.cpp @@ -177,7 +177,7 @@ bool extractStrings(PAKFile &out, const ExtractInformation *info, const byte *da patch = 2; else if (id == k2SeqplayStrings) patch = 3; - } else if (info->platform == kPlatformPC) { + } else if (info->platform == kPlatformDOS) { if (id == k2IngamePakFiles) patch = 4; @@ -601,7 +601,7 @@ bool extractHofSeqData(PAKFile &out, const ExtractInformation *info, const byte int v = extractHofSeqData_isSequence(ptr, info, endOffs - ptr); if (cycle == 0 && v == 1) { - if ((info->platform == kPlatformPC && info->special == kNoSpecial && *ptr == 5) || (info->special == kDemoVersion && (ptr - data == 312))) { + if ((info->platform == kPlatformDOS && info->special == kNoSpecial && *ptr == 5) || (info->special == kDemoVersion && (ptr - data == 312))) { // patch for floppy version: skips invalid ferb sequence // patch for demo: skips invalid title sequence ptr += 54; |