mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Fix broken GetInputDeviceManager signature (#972)
This commit is contained in:
parent
08e76364a6
commit
36955ed008
3 changed files with 42 additions and 25 deletions
|
|
@ -96,11 +96,18 @@ namespace utils {
|
|||
size_t PatternIndex;
|
||||
size_t MatchIndex;
|
||||
size_t CaptureIndex;
|
||||
|
||||
const char* resolve_jump_target(size_t instructionOffset = 0) const;
|
||||
|
||||
template<typename T>
|
||||
T resolve_jump_target(size_t instructionOffset = 0) const {
|
||||
return reinterpret_cast<T>(const_cast<char*>(resolve_jump_target(instructionOffset)));
|
||||
}
|
||||
};
|
||||
|
||||
std::vector<result> find(size_t minCount, size_t maxCount, bool bErrorOnMoreThanMaximum) const;
|
||||
|
||||
std::span<const char> find_one() const;
|
||||
result find_one() const;
|
||||
};
|
||||
|
||||
class memory_tenderizer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue