Fixed lookups into the non-resident name table.

It uses a different base offset than the resident one.
This commit is contained in:
Ryan C. Gordon committed 2016-10-27 02:26:20 -04:00
1 parent 26a52988a6
commit 970cbbc0c2
1 file changed
+1 -1
+1 -1
View File
@@ -1426,7 +1426,7 @@ static LxModule *loadLxModule(const char *fname, uint8 *exe, uint32 exelen, int
} // if
if (lx->non_resident_name_table_offset && lx->non_resident_name_table_len) {
if (!loadLxNameTable(retval, exe + lx->non_resident_name_table_offset))
if (!loadLxNameTable(retval, origexe + lx->non_resident_name_table_offset))
goto loadlx_failed;
} // if