mirror of https://github.com/x64dbg/zydis
Fixed wrong return value of `ZydisFormatterSetHook`
This commit is contained in:
parent
f89398877d
commit
14d87fda8b
|
@ -1166,10 +1166,10 @@ ZydisStatus ZydisFormatterSetHook(ZydisFormatter* formatter, ZydisFormatterHookT
|
|||
formatter->funcPrintImmediate = *(ZydisFormatterFormatOperandFunc*)&temp;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
return ZYDIS_STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
return ZYDIS_STATUS_INVALID_PARAMETER;
|
||||
return ZYDIS_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
ZydisStatus ZydisFormatterFormatInstruction(const ZydisFormatter* formatter,
|
||||
|
|
Loading…
Reference in New Issue