diff options
author | midipix <writeonce@midipix.org> | 2016-11-13 15:06:20 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-13 15:06:20 -0500 |
commit | cf4adcd6a9a857eb9d33c6f0235eed071be7e434 (patch) | |
tree | e3cfa883746b149238304307235f2fb9baa35164 /src/output | |
parent | 902a22167b52d38de153cc95abaeab955d41e0e7 (diff) | |
download | perk-cf4adcd6a9a857eb9d33c6f0235eed071be7e434.tar.bz2 perk-cf4adcd6a9a857eb9d33c6f0235eed071be7e434.tar.xz |
logic: pe_get_expsym_by_name(), pe_get_expsym_by_index(): improved interface.
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/pe_output_image_type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/pe_output_image_type.c b/src/output/pe_output_image_type.c index b2a0bd7..21ae925 100644 --- a/src/output/pe_output_image_type.c +++ b/src/output/pe_output_image_type.c @@ -66,7 +66,7 @@ static const char * pretty_subsystem(const struct pe_unit_ctx * uctx) static bool pe_image_is_psxscl(const struct pe_unit_ctx * uctx) { return (!uctx->meta->summary.nimplibs - && pe_get_expsym_by_name(uctx->meta,"__psx_init")); + && !pe_get_expsym_by_name(uctx->meta,"__psx_init",0)); } static const char * pretty_framework(const struct pe_unit_ctx * uctx) |