Skip to content

Commit 48c8981

Browse files
committed
That running low warning seems to be gone.
1 parent a364ddd commit 48c8981

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

src/main.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,23 +2310,6 @@ extern "C" __declspec(dllexport) void my_main()
23102310

23112311
extend_sgg_sStringsBuffer_and_sTempStringsBuffer_max_size();
23122312

2313-
static auto ptr = gmAddress::scan("3D 00 00 90 00", "cmp eax, 900000h | silencing String intern table running low on space message spam");
2314-
if (ptr)
2315-
{
2316-
auto e8_call_ptr = ptr.offset(45).as<uint8_t *>();
2317-
if (*e8_call_ptr != 0xE8)
2318-
{
2319-
LOG(ERROR) << "Failed silencing String intern table running low on space message spam - unexpected "
2320-
"instruction at call site";
2321-
}
2322-
else
2323-
{
2324-
for (size_t i = 0; i < 5; i++)
2325-
{
2326-
ForceWrite<uint8_t>(*(e8_call_ptr + i), 0x90);
2327-
}
2328-
}
2329-
}
23302313

23312314
sgg_sInitialized = big::hades2_symbol_to_address["sgg::sInitialized"].as<bool *>();
23322315
XXH_INLINE_XXH3_64bits = big::hades2_symbol_to_address["XXH_INLINE_XXH3_64bits"].as_func<uint64_t(const char *input, size_t len)>();

0 commit comments

Comments
 (0)