mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-24 16:37:51 +00:00
patch export table directory using section contribs
This commit is contained in:
committed by
Ryan Fleury
parent
0f9321e92a
commit
b1cd2146ac
@@ -95,7 +95,7 @@ lnk_get_last_section_contrib(LNK_Section *sect)
|
||||
{
|
||||
if (sect->contribs.chunk_count > 0) {
|
||||
if (sect->contribs.last->count > 0) {
|
||||
return sect->contribs.last->v[0];
|
||||
return sect->contribs.last->v[sect->contribs.last->count-1];
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user