mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 16:27:44 +01:00
Compare commits
3 commits
7bf79bdea6
...
1ae7de26bf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1ae7de26bf | ||
|
|
1073227b83 | ||
|
|
11adffd700 |
3 changed files with 4 additions and 4 deletions
|
|
@ -326,7 +326,7 @@ public class SigScanner : IDisposable, ISigScanner
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public nint[] ScanAllText(string signature) => this.ScanAllText(signature, default).ToArray();
|
public nint[] ScanAllText(string signature) => this.ScanAllText(signature, CancellationToken.None).ToArray();
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public IEnumerable<nint> ScanAllText(string signature, CancellationToken cancellationToken)
|
public IEnumerable<nint> ScanAllText(string signature, CancellationToken cancellationToken)
|
||||||
|
|
@ -338,7 +338,7 @@ public class SigScanner : IDisposable, ISigScanner
|
||||||
{
|
{
|
||||||
cancellationToken.ThrowIfCancellationRequested();
|
cancellationToken.ThrowIfCancellationRequested();
|
||||||
|
|
||||||
var index = IndexOf(mBase, this.TextSectionSize, needle, mask, badShift);
|
var index = IndexOf(mBase, this.TextSectionSize - (int)(mBase - this.TextSectionBase), needle, mask, badShift);
|
||||||
if (index < 0)
|
if (index < 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit c25482543246de695146c55ad7d571deca650919
|
Subproject commit e279b05e9a6d3a0eff85e7bcaec0fe523358afba
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit fae3314282b38efc2ce1edf0255d4357d924ced1
|
Subproject commit a37961c453463f0f60a96f27aa278ef139841857
|
||||||
Loading…
Add table
Add a link
Reference in a new issue