patterns: Make std::mem::find_sequence_in_range return -1 when no sequence is found

This commit is contained in:
WerWolv
2022-03-01 16:55:45 +01:00
parent 56079f70c7
commit 3d7adf6483

View File

@@ -139,7 +139,7 @@ namespace hex::plugin::builtin {
}
}
LogConsole::abortEvaluation("failed to find sequence");
return i128(-1);
});
/* read_unsigned(address, size) */