Fix (for win64) and avoid duplicating base address
parent
50144b60ea
commit
ddd56d7825
@ -0,0 +1,22 @@
|
||||
// Default base address
|
||||
#if defined(_WIN32)
|
||||
#ifdef DFHACK64
|
||||
#define DEFAULT_BASE_ADDR 0x140000000
|
||||
#else
|
||||
#define DEFAULT_BASE_ADDR 0x400000
|
||||
#endif
|
||||
#elif defined(_DARWIN)
|
||||
#ifdef DFHACK64
|
||||
#define DEFAULT_BASE_ADDR 0x1000
|
||||
#else
|
||||
#define DEFAULT_BASE_ADDR 0x1000
|
||||
#endif
|
||||
#elif defined(_LINUX)
|
||||
#ifdef DFHACK64
|
||||
#define DEFAULT_BASE_ADDR 0x8048000
|
||||
#else
|
||||
#define DEFAULT_BASE_ADDR 0x8048000
|
||||
#endif
|
||||
#else
|
||||
#error Unknown OS
|
||||
#endif
|
Loading…
Reference in New Issue