diff options
| author | Petr Mrázek | 2012-02-10 02:35:51 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-02-10 02:35:51 +0100 |
| commit | aee5efe7c0d0cdf784fb8bdb445cc233435d47dd (patch) | |
| tree | 1a4be75e55a0ec37f547e36a7a223f315ba2c193 /library/Process-windows.cpp | |
| parent | 8f680dcf9482748b4a9ddaf3601c1a656622a994 (diff) | |
| download | dfhack-aee5efe7c0d0cdf784fb8bdb445cc233435d47dd.tar.gz dfhack-aee5efe7c0d0cdf784fb8bdb445cc233435d47dd.tar.bz2 dfhack-aee5efe7c0d0cdf784fb8bdb445cc233435d47dd.tar.xz | |
Make it run on Windows, re-added more missing globals to memory.xml
Diffstat (limited to 'library/Process-windows.cpp')
| -rw-r--r-- | library/Process-windows.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/library/Process-windows.cpp b/library/Process-windows.cpp index b02e3011..054f08a9 100644 --- a/library/Process-windows.cpp +++ b/library/Process-windows.cpp @@ -161,9 +161,7 @@ Process::Process(VersionInfoFactory * factory) identified = true; // give the process a data model and memory layout fixed for the base of first module my_descriptor = new VersionInfo(*vinfo); - my_descriptor->RebaseAll((uint32_t)d->base); - // keep track of created memory_info object so we can destroy it later - my_descriptor->setParentProcess(this); + my_descriptor->rebaseTo((uint32_t)d->base); for(size_t i = 0; i < threads_ids.size();i++) { HANDLE hThread = OpenThread(THREAD_ALL_ACCESS, FALSE, (DWORD) threads_ids[i]); |
