fix a crash + fix s15

This commit is contained in:
Milxnor
2023-03-29 20:15:09 -04:00
parent a2b07de07e
commit ebffe769ea
2 changed files with 48 additions and 12 deletions

6
vendor/memcury.h vendored
View File

@@ -984,6 +984,12 @@
auto RelativeOffset(uint32_t offset) -> Scanner
{
if (!_address.Get())
{
LOG_WARN(LogMemory, "Trying to relative offset an invalid offset!");
return *this;
}
_address.RelativeOffset(offset);
return *this;