diff options
| author | Timothy Collett | 2012-06-14 13:42:06 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-06-14 13:42:06 -0400 |
| commit | 12543d6a5b4afc4cbba20670f3e463672ed9fac4 (patch) | |
| tree | e43580d6b4d627ad119d7cdb2b0daa54ee04bd9f /library/VersionInfoFactory.cpp | |
| parent | c6700585bcbe5b03216cef2811486d94c795e556 (diff) | |
| download | dfhack-12543d6a5b4afc4cbba20670f3e463672ed9fac4.tar.gz dfhack-12543d6a5b4afc4cbba20670f3e463672ed9fac4.tar.bz2 dfhack-12543d6a5b4afc4cbba20670f3e463672ed9fac4.tar.xz | |
Make offsets with "darwin" os-type recognized as Apple, rather than ignored
Diffstat (limited to 'library/VersionInfoFactory.cpp')
| -rw-r--r-- | library/VersionInfoFactory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/VersionInfoFactory.cpp b/library/VersionInfoFactory.cpp index 972ab31b..4ac53dd1 100644 --- a/library/VersionInfoFactory.cpp +++ b/library/VersionInfoFactory.cpp @@ -105,6 +105,12 @@ void VersionInfoFactory::ParseVersion (TiXmlElement* entry, VersionInfo* mem) // this is wrong... I'm not going to do base image relocation on linux though. mem->setBase(0x0); } + else if(os == "darwin") + { + mem->setOS(OS_APPLE); + // this is wrong... I'm not going to do base image relocation on linux though. + mem->setBase(0x0); + } else { return; // ignore it if it's invalid |
