From 0031c41db855ac4bebd05ca1b2c1fa6694242979 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 2 May 2013 18:26:58 -0400 Subject: 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. --- devtools/create_kyradat/extract.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devtools/create_kyradat/extract.cpp') 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; -- cgit v1.2.3