diff options
| author | Alexander Gavrilov | 2012-06-18 21:11:54 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-06-18 21:11:54 +0400 |
| commit | bd5b675fa5ce1c8561b9d670180ae80ef4a2a2b1 (patch) | |
| tree | 7c1e1096a0910f386f406b7099a6efd324f2ef38 /library/lua | |
| parent | a6bfc670389698b5d3e61e7322a5231450c420f6 (diff) | |
| download | dfhack-bd5b675fa5ce1c8561b9d670180ae80ef4a2a2b1.tar.gz dfhack-bd5b675fa5ce1c8561b9d670180ae80ef4a2a2b1.tar.bz2 dfhack-bd5b675fa5ce1c8561b9d670180ae80ef4a2a2b1.tar.xz | |
Add ui_menu_width finder, tweak instructions, and add a case for win exe.
Diffstat (limited to 'library/lua')
| -rw-r--r-- | library/lua/memscan.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/lua/memscan.lua b/library/lua/memscan.lua index 95b9197b..4bd01c8f 100644 --- a/library/lua/memscan.lua +++ b/library/lua/memscan.lua @@ -208,7 +208,8 @@ local function find_data_segment() end elseif mem.read and mem.write and (string.match(mem.name,'/dwarfort%.exe$') - or string.match(mem.name,'/Dwarf_Fortress$')) + or string.match(mem.name,'/Dwarf_Fortress$') + or string.match(mem.name,'Dwarf Fortress%.exe')) then data_start = mem.start_addr data_end = mem.end_addr |
